-
Notifications
You must be signed in to change notification settings - Fork 670
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
Pasting problems from Addy Osmani's JavaScript book #552
Comments
Last commit adds the new lines that were missing. The fact that the rest of the style is not copied is not an issue. CLEditor keeps all the inline style from the original site which is a total no from us. |
Thanks Stefan. Has https://www.froala.com/wysiwyg-editor/customize been updated by any chance? Would be nice to see how the text pastes now in the demo. I've been comparing ~50 WYSIWYG editors and Froala was one of the most promising. |
We're updating the website version as soon as we make the release of the version 1.2.7. That will be for sure during next week. |
Just checking if the site has been updated. Now the line numbers are more in-synch (though not perfectly aligned), but the syntax highlight is gone: Is this a limitation as you mentioned earlier and unlikely to get fixed? In other words, is this the most that Froala plans to do in order to support pasting rich content? |
We're currently working on an improved version for the editor 2.0.0. The new version will have better cleaning algorithms and options for keeping inline styles if someone may want that. |
Copy some text+code from http://addyosmani.com/resources/essentialjsdesignpatterns/book/
Paste in Froala
By comparison, in CLEditor:
The text was updated successfully, but these errors were encountered: