-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
editor_styles not compatible with WordPress 4.1 #21
Comments
Investigating this... could you please be more specific, I am not entirely sure I know what you are trying to point out. |
@webstylr I figured out what you were talking about. The editor isn't adding line breaks, it is incorrectly adjusting the height onClick. (this is what would normally prevent scroll bars from appearing when the content of the editor is larger than the default editing area. At the moment, I am having trouble locating what exactly is causing this miscalculation, but I report back here when it is fixed. |
@ProjectCleverWeb sorry for being quiet for a few days, was on a short vacation ;) HTML without semantic https://gist.github.com/webstylr/92c39a08f952984c03b9 If there is anything i could do to help, please let me know. |
@webstylr Got this fixed, thanks for your help with finding this bug. |
When using Semantic-UI-WordPress with WordPress 4.1, strange things happen to the Editor/TinyMCE.
To illustrate the behavior, please see the attached screenshots.
As long as
add_editor_style('assets/styles/semantic.min.css');
is enabled, the Editor behaves in strange ways.For example, for every mouseclick you trigger inside the Editor, a linebreak witll be inserted.
The same goes for entering content. For every character you insert, a linebreak will be added below the text.
It looks like passing the semantic.css to tinymce causes some trouble with how tinymce constructs the editor.
![bildschirmfoto 2014-12-28 um 13 09 08](https://cloud.githubusercontent.com/assets/413835/5563929/5f3f20ba-8e9e-11e4-8645-f5b50c3bc1d4.png)
![bildschirmfoto 2014-12-28 um 13 09 50](https://cloud.githubusercontent.com/assets/413835/5563930/5f41e034-8e9e-11e4-933a-a3edad13f6e6.png)
The text was updated successfully, but these errors were encountered: