brrd / abricotine

Markdown editor with inline preview
GNU General Public License v3.0
2.63k stars 156 forks source link

Autopreview not working on startup #182

Closed ghost closed 5 years ago

ghost commented 7 years ago

On the startup of Abricotine (by opening a file), the checkboxes of task lists will not be displayed as checkboxes. Instead you will see the source code - [ ]. By clicking on any of the task list entries the checkboxes will appear for the whole document.

Linux Mint 18.1 Cinnamon, Abricotine 0.5, own template

grafik

ghost commented 7 years ago

Source code on startup:

<pre class=" not-blank CodeMirror-line " role="presentation">
    <span role="presentation" style="padding-right: 0.1px;">
        <span class="cm-m-markdown cm-formatting cm-formatting-list cm-formatting-list-ul cm-variable-2">* </span>
        <span class="cm-m-markdown cm-formatting cm-formatting-task cm-meta">[ ]</span>
        <span class="cm-m-markdown cm-variable-2"> Test</span>
    </span>
</pre>

Source code after clicking

<pre class=" not-blank CodeMirror-line " role="presentation">
    <span role="presentation" style="padding-right: 0.1px;">
        <span class="CodeMirror-widget" role="presentation" cm-ignore-events="true">
            <span class="autopreview-todolist todolist"></span>
        </span>
        <span class="cm-m-markdown cm-variable-2">Test</span>
    </span>
</pre>
brrd commented 5 years ago

It seems to be solved in version 0.6.0.