Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
psy-q opened this issue Sep 25, 2019 · 1 comment

Comments

@psy-q
Copy link

psy-q commented Sep 25, 2019

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.

@auto-comment
Copy link

auto-comment bot commented Sep 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants