Skip to content

Editor freezes on not very large HTML-text #1054

@mx1234567

Description

@mx1234567

Editor freezes on not very large HTML-text

I need to edit entries from a dictionary.
If I set, in my opinion, not very large text, then the editor freezes.
I set the text in this line of code, instead of EXAMPLE.
The file is attached with a large text.

\app\src\main\kotlin\org\wordpress\aztec\demo\MainActivity.kt

override fun onCreate(savedInstanceState: Bundle?) {


//aztec.sourceEditor?.displayStyledAndFormattedHtml(EXAMPLE)
aztec.sourceEditor?.displayStyledAndFormattedHtml(textFieldValue) //Set my text

I would also like to clarify how to disable the display in the editor, HTML comments?
Such as:

<p></p>
<!-- Built-in comment 1 -->
<p></p>
<!-- Built-in comment 2 -->

They are visible, but I do not need it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions