joplin icon indicating copy to clipboard operation
joplin copied to clipboard

[Bug] Text formatted as Inline Code within a table does not persist after switching between the real time editor and markdown editor.

Open futuremotiondev opened this issue 5 months ago • 1 comments

Operating system


Windows

Joplin version


Joplin 2.14.10 (prod, win32)

Desktop version info


Joplin 2.14.10 (prod, win32)

Client ID: 4dab185d885945ac897a0608af59c6f7 Sync Version: 3 Profile Version: 45 Keychain Supported: Yes

Revision: 3ed6ad5

CodeMirror Options: 1.1.0 Csv Import: 1.0.1 Favorites: 1.3.2 Menu items, Shortcuts, Toolbar icons: 1.1.0 Quick HTML tags: 0.2.0 Simple Backup: 1.3.6 Simple Highlighter: 1.0.0 Suitcase: 0.3.2

Current behaviour


A: Create a table and populate it with content. Here's mine:

Joplin_284YjGO06B

B: select the second column and press Ctrl + `:

Joplin_cR2aqP3dB4

C: Note everything looks fine:

Joplin_fYtGejUPik

D: Switch to the MD editor. Notice that all inline code formatting has been stripped:

Joplin_BQZ0xU1Xbr

E: Switch to the real time WYSIWYG editor, and confirm all inline code formatting is gone.

Joplin_VXECG5AJfk

Summary


Unfortunately, in the current state of the application, this doesn't seem to be supported.

The only work around is to manually place code tags around the text you want to be rendered as inline-code directly in the markdown editor: <code>mycode.value</code>

It would be much appreciated if inline code support in tables would apply and persist when setting it in the real time editor.

Thanks for any consideration. I would really like to see this supported.

Expected behaviour

Preserve the inline-code formatting that was added in the RTE when switching between markdown and real time editing. Right now, switching to the markdown editor strips inline code formatting (at least when applied to content in a table)

Logs

Not relevant here.

futuremotiondev avatar Jan 21 '24 00:01 futuremotiondev

I cannot replicate this. I would need an example of note (as a JEX file for example) to be able to check

laurent22 avatar Feb 08 '24 18:02 laurent22