sidhu-patil/delta_to_html

<ol><li>

Closed this issue · 8 comments

  1. 这个有问题,数字没有累加

thank you for reporting bug
i will fixed it on next update.

Is any update?

problem fixed in delta_to_html >= 0.2.2

I tested the updated code but still, some issues are there.

here is the input text

Screenshot 2022-12-20 at 9 31 56 PM

and here is the output code

Screenshot 2022-12-20 at 9 32 16 PM

Please provide me your delta code

insert⟨ Hello how are you⏎⏎Hello ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ New ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ Data ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ Fine ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ ⏎Yes wow⏎⏎Hello how⏎⏎Sdf ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ Fs sdf sdf ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ ⏎ ⟩
insert⟨ Sdfsdf sf ⟩ + {bold: true}
insert⟨ ⏎⏎Data A ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ Data B ⟩
insert⟨ ⏎ ⟩ + {list: ordered}
insert⟨ Data C ⟩
insert⟨ ⏎ ⟩ + {list: ordered}

In json format brother

[{insert: Hello how are you
Hello }, {insert:, attributes: {list: ordered}}, {insert: New}, {insert:
, attributes: {list: ordered}}, {insert: Data}, {insert:
, attributes: {list: ordered}}, {insert: Fine}, {insert:
, attributes: {list: ordered}}, {insert:
Yes wow
Hello how
Sdf}, {insert:
, attributes: {list: ordered}}, {insert: Fs sdf sdf}, {insert:
, attributes: {list: ordered}}, {insert:
}, {insert: Sdfsdf sf, attributes: {bold: true}}, {insert:
Data A}, {insert:
, attributes: {list: ordered}}, {insert: Data B}, {insert:
, attributes: {list: ordered}}, {insert: Data C}, {insert:
, attributes: {list: ordered}}]