active_admin_editor icon indicating copy to clipboard operation
active_admin_editor copied to clipboard

bypass HTML generator

Open mrjutsu opened this issue 10 years ago • 0 comments

First of all, thank you for developing the gem, it's incredibly usefull in the projects I currently work, but I was wondering if there is a way to not generate a div tag when using the editor.

I ask this because I need to show part of the text in a view and there is the starting

tag always appearing in the view, which obviously shouldn't be there. As a solution I tried putting <%= raw article_text %> but this instead messes up my markup.

Is there a way to not generate a div tag when using the editor?

Thanks.

mrjutsu avatar Feb 12 '15 16:02 mrjutsu