type 'is is normal text', hit enter
set font size to header 1,
type 'this is header 1 text', hit enter,
set font size to header 2,
type 'this is header 2 text', hit enter,
set font size to header 1,
type 'this is header 1 text', hit enter
Expected results
I think this is what it should look like::
{insert: this is normal text}
{insert: this is header 1 text}
{insert:, attributes: {header: 1}}
{insert: this is header 2 text}
{insert:, attributes: {header: 2}}
{insert: this is header 1 text}
{insert:, attributes: {header: 1}}
Actual results
{insert: this is normal text
this is header 1 text}
{insert:
, attributes: {header: 1}}
{insert: this is header 2 text}
{insert:
, attributes: {header: 2}}
{insert: this is header 1 text}
{insert:
, attributes: {header: 1}}
Additional Context
I posted the question on stack overflow but I think that its a bug on quill::
Is there an existing issue for this?
Flutter Quill version
9.3.1
Steps to reproduce
type 'is is normal text', hit enter set font size to header 1, type 'this is header 1 text', hit enter, set font size to header 2, type 'this is header 2 text', hit enter, set font size to header 1, type 'this is header 1 text', hit enter
Expected results
I think this is what it should look like::
{insert: this is normal text}
{insert: this is header 1 text} {insert:, attributes: {header: 1}}
{insert: this is header 2 text} {insert:, attributes: {header: 2}}
{insert: this is header 1 text} {insert:, attributes: {header: 1}}
Actual results
{insert: this is normal text this is header 1 text}
{insert: , attributes: {header: 1}}
{insert: this is header 2 text}
{insert: , attributes: {header: 2}}
{insert: this is header 1 text}
{insert: , attributes: {header: 1}}
Additional Context
I posted the question on stack overflow but I think that its a bug on quill::
https://stackoverflow.com/questions/79112002/flutter-quill-incorrectly-recording-text-attributes