active_admin_editor icon indicating copy to clipboard operation
active_admin_editor copied to clipboard

Pasting HTML into editor

Open yoshie902a opened this issue 8 years ago • 2 comments

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?

yoshie902a avatar Jan 30 '16 13:01 yoshie902a

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

joshmn avatar Mar 14 '16 21:03 joshmn

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.

BananaNeil avatar Apr 19 '17 23:04 BananaNeil