You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the trix gem in my rails app, the text is being serialized/deserialized correctly and most of the html tags are working properly but ul/ol do not. for example, this text: <div>ulist</div><ul><li>abc</li><li>def</li></ul><div>olist</div><ol><li>a</li><li>b</li><li>c</li></ol>
is saved correctly, deserializied correctly but then when repopulating the editor is simply ulistabcdefolistabc
Hi @guyas! Are you able to reproduce this issue using solely the Trix JS/CSS assets? This gem is just a wrapper on those assets. If so, then this might be a bug in the basecamp/trix project.
I'm using the trix gem in my rails app, the text is being serialized/deserialized correctly and most of the html tags are working properly but ul/ol do not. for example, this text:
<div>ulist</div><ul><li>abc</li><li>def</li></ul><div>olist</div><ol><li>a</li><li>b</li><li>c</li></ol>
is saved correctly, deserializied correctly but then when repopulating the editor is simply
ulistabcdefolistabc
Steps to Reproduce
<% @var = "<div>ulist</div><ul><li>abc</li><li>def</li></ul><div>olist</div><ol><li>a</li><li>b</li><li>c</li></ol>" %>
<input id='text_input' type="hidden" name="content" value="<%= @var %>">
<trix-editor input='text_input'></trix-editor>
Details
Thanks a lot!
The text was updated successfully, but these errors were encountered: