AztecEditor-Android
AztecEditor-Android copied to clipboard
Editor freezes on not very large HTML-text
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.
The file on which the editor freezes: text1.txt