slab / delta

Simple and expressive JSON format for describing rich-text content and their changes
https://quilljs.com/docs/delta
BSD 3-Clause "New" or "Revised" License
915 stars 130 forks source link

can't render format #3

Closed mastito03 closed 8 years ago

mastito03 commented 8 years ago

it seem after last update, it can render delta properly

delta = {
  ops: [{
    insert: 'Hello',
    attributes: {
      italic: true
    }
  }, {
    insert: ' world!!'
  }]
}

on previous version it render

<p><em>Hello</em><span> world!!</span></p>

but on last version it render

<p>Hello world!!</p>

I render it using 'render-quill' library.

right now to fix this I lock quill version to 1.1.1

i think it happen because last fix for null and undefined object