Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var $JQWrappedCKEditorData = $(editor.getData());
- console.log(editor.getData()); // I see here full html:
- <p><a href="http://www.link1.com">link1-text</a></p>
-
- <p>text text text text text text text text text text text</p>
- <h1>text text text text text</h1>
- console.log($JQWrappedCKEditorData.clone().html()); // I see here only first <a>-Tag, without <p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement