ejholmes / active_admin_editor

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

bypass HTML generator #56

Open mrjutsu opened 9 years ago

mrjutsu commented 9 years ago

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.