Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. var $JQWrappedCKEditorData = $(editor.getData());
  2.  
  3. console.log(editor.getData()); // I see here full html:
  4. <p><a href="http://www.link1.com">link1-text</a></p>
  5. &nbsp;
  6. <p>text text text text text text text text text text text</p>
  7. <h1>text text text text text</h1>
  8.  
  9.  
  10. console.log($JQWrappedCKEditorData.clone().html()); // I see here only first <a>-Tag, without <p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement