Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor freezes on not very large HTML-text #1054

Open
mx1234567 opened this issue Jul 20, 2023 · 1 comment
Open

Editor freezes on not very large HTML-text #1054

mx1234567 opened this issue Jul 20, 2023 · 1 comment

Comments

@mx1234567
Copy link

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.

@mx1234567
Copy link
Author

The file on which the editor freezes:
text1.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant