chuckh / polymer-quill

Polymer Quill Rich Text Editor
51 stars 29 forks source link

html-render question #15

Open marcus7777 opened 7 years ago

marcus7777 commented 7 years ago

in : polymer-quill-html-render.html

why to just

<div inner-h-t-m-l="{{html}}"></div>
chuckh commented 6 years ago

@marcus7777 <div inner-h-t-m-l="{{html}}"></div> will work once CSS is changed to use it. Had not used it before.

I tried

<div class="markdown-html" inner-h-t-m-l="[[content]]"></div>

instead of

<marked-element  id="markedView" markdown="[[content]]">
   <div class="markdown-html"></div>
</marked-element>

It displayed content but CSS in polymer-quill-styles-html.html has to be redone to show correct styles.