mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
[Bug]: YFM-note titles are Russian by default #725
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KredeDK on GitHub (Jun 5, 2025).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Firefox
Current behavior
When inserting a note in the description field, while using markdown editor, the title of the note is Russian. This happens in both English and Danish, and probably other languages.
`
{% note info %}
{% endnote %}
`
becomes
A temporary fix is to add a title manually in quotes, eg. "{% note info "Title" %}".
Desired behavior
That the title uses the locale markdown-editor.json file for the correct language
Steps to reproduce
Other information
No response
@symonbaikov commented on GitHub (Jun 5, 2025):
I can take this issue to work.
@symonbaikov commented on GitHub (Jun 5, 2025):
TypeError error: Cannot Read Properties of Undefined (Reading 'Warn') suggests that somewhere in the code or in one of the Markdown plugins there is an appeal to the non-existent property of Warn at the object that turned out to be undefined.
@meltyshev commented on GitHub (Jun 5, 2025):
Thanks for reporting this!
Sure. I found here that they use
DEFAULT_LANG, which defaults toruif a translation is not found. Most likely, we just need to setnotesAutotitletofalsefor the plugin to prevent the title from being shown when there's no text.Hm, how did you get this error?
@meltyshev commented on GitHub (Jun 5, 2025):
I'm going to commit the fix in a few minutes. I've also added a patch to the editor to prevent the title from being auto-filled when switching between visual and markdown modes. @symonbaikov FYI.