Opened 4 years ago

Last modified 3 years ago

#14285 confirmed Bug

Overflow CSS property added to html element when using autogrow with fullpage plugin

Reported by: Mark Owned by:
Priority: Normal Milestone:
Component: General Version: 4.3
Keywords: Cc: Mark

Description

Steps to reproduce

  1. Build 4.5.6, including autogrow plugin
  2. fullpage: true, allowedContent: true

Expected result

<html> -- no change to source

Actual result

<html style="overflow-y: hidden; ">

Notes=

removePlugins: 'autogrow',

will stop the change to <html>, but obviously disables the autogrow too .

Other details (browser, OS, CKEditor version, installed plugins)

Change History (3)

comment:1 Changed 4 years ago by Jakub Ś

Keywords: plugin autogrow removed
Status: newconfirmed
Version: 4.5.64.3

The autogrow plugin should rather use custom CSS class which would be stripped out once mode is changed or data is submitted (getData is used).

In the meantime when you press submit button, you can get data (use this method) from editor remove this style, set data in the editor (use this method) and allow submit to do its part.

To modify something on submit you can use technique described here: http://stackoverflow.com/questions/8133712/execute-javascript-code-straight-before-page-submit


This attribute has been introduced in CKEditor 4.3.0.

comment:2 Changed 4 years ago by Marek Lewandowski

Summary: AutoGrowOverflow CSS property added to html element when using autogrow with fullpage plugin

comment:3 Changed 3 years ago by Jakub Ś

Similar issue and both should probably be fixed at the same time: #14752.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy