ejholmes / active_admin_editor

Rich text editor for Active Admin using wysihtml5.
MIT License
184 stars 134 forks source link

Pasting HTML into editor #67

Open yoshie902a opened 8 years ago

yoshie902a commented 8 years ago

When I click the source button and paste new HTML into it, it gets all screwed up. It gets removed, is missing specific parts. What causes this? What is the way to fix it?

joshmn commented 8 years ago

Are any of the HTML elements you are pasting not defined by the editor? That would be my guess.

BananaNeil commented 7 years ago

I am having this issue as well.

When I paste <div data-paperform-id="cj3sohoc"></div> into the editor, it just says <div></div>.

When I paste a script tag, it doesn't show up at all.