dokuwiki-plugin-prosemirror icon indicating copy to clipboard operation
dokuwiki-plugin-prosemirror copied to clipboard

Putting a code block inside a bullet point makes it impossible to edit the code block

Open psy-q opened this issue 6 years ago • 1 comments

Place the following wikitext on a page:

  * <code ->
# some code
def foobar
  puts "flarp"
end
 </code>

Save the page. Edit the page again, but now switch to the WYSIWYG editor. Place the cursor in the code block after end. Press enter. Observe that the code block is immediately exited and a new bullet point created.

Expected behavior: Only Ctrl-Enter should exit the block. A normal enter should instead add a blank line to the code block.

psy-q avatar Sep 25 '19 10:09 psy-q

Thank you for opening this issue. CosmoCode is a software company in Berlin providing services for wiki, app and web development. As such we can't guarantee quick responses for issues opened on our Open Source projects. If you require certain features or bugs fixed, you can always hire us. Feel free to contact us at [email protected] for an offer.

auto-comment[bot] avatar Sep 25 '19 10:09 auto-comment[bot]