trilium
trilium copied to clipboard
(Bug report) Some text notes can only be displayed in the case of only reading, and errors in the editor mode
Trilium Version
0.59.2
What operating system are you using?
Windows
What is your setup?
Local (no sync)
Operating System Version
windows10
Description
Some text notes can only be displayed in the case of only reading, and the error is reported in the editing mode.
For example:
Text Note:
View the source code of the note through Open Note Externally:
<li> <div> hello </div> </li>
or:
<pre><code class="hljs language-cobol"><ol><li><div>hello</div></li></ol></code><div></div></pre>
This note can only be displayed in only reading mode.
The original note was cut from the webpage through the clipper
Error logs
Uncaught (in promise) TypeError: t.getStyle is not a function
at Object.getAttributeOnUpcast (
That's unfortunately a CKEditor bug. They get fixed with upgrades, sooner or later.