Open Bug 1717155 Opened 3 years ago Updated 3 years ago

Stop storing text node in `DeleteTextTransaction`, `InsertTextTransaction` and `ReplaceTextTransaction` if editor is a `TextEditor`

Categories

(Core :: DOM: Editor, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

I've not checked instance size of the transaction, we could reduce the footprint of them if they store dom::Text in derived class of them only when the editor is an HTMLEditor. Otherwise, just stopping storing text node is also fine.

You need to log in before you can comment on or make changes to this bug.