[Prealpha] Obsidian LavaShortcodeDetail Documentation field defaults to code editor if shortcode syntax is present #6041
Labels
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
If you add shortcode syntax (
{[ ]}
) to the Documentation field in the new Obsidian LavaShortcodeDetail block, then when you go to edit the shortcode it defaults to Code Editor without allowing it to show the visual editor.Before save:
After save:
I often use this Documentation field for quick copy/paste references on how to use the shortcode.
Actual Behavior
The visual editor doesn't show if there is any shortcode syntax (
{[ ]}
) present.Expected Behavior
I would expect that using shortcode syntax in the Documentation field would show the rendered output in the visual editor (the non-Obsidian block did).
Steps to Reproduce
test
, make the shortcodetest
, mark it inline, and puttest
in the shortcode markup (this is irrelevant but they are required fields){[ test ]}
Issue Confirmation
Rock Version
Rock McKinley 17.0 (1.17.0.30)
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: