Hi,
The selectedText command i.e. (joplin.commands.execute('selectedText')) doesn't include line break character in rich text editor which makes all the plugin unusable in rich text editor which relies on selected text. Looks like a fix which solves alot of problem I find in the plugin discussion.