-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Do not auto format after ` (backtick) #7368
Comments
Only via explicit command. |
Thanks for the fast feedback :) |
If someone wants to create an italic inside a code block... personally, I see nothing wrong with it (there could be use-cases) and I think the editor should allow this using toolbar buttons (code command enabled in italic and vice-versa). But when it comes to autoformatting, if you typed I think Slack is a good example:
|
I'm not 100% sure if Slack's behavior is a perfect either, imagine trying to write, the following code But, I totally agree it's better than the current behavior :) |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
Works in current CKEditor, can be closed |
Closing as completed. |
This is a followup after #1239 (comment)
π Provide detailed reproduction steps (if any)
`foo_bar_`
βοΈ Expected result
One may expect to get
`foo_bar_`
:<code>foo_bar_</code>
β Actual result
foobar
π Other details
This is related to #7364.
If we state that we do not follow GH, Slack, Notion convention, one may say, that this is not a bug, but a feature, to create emphasis in code element (which is not available otherwise). Some folks seem to want to style in code elements: #1239 (comment), @neongreen:
Did you mean they should be available via autoformatting, or are you fine with making them available only via explicit command (select + toolbar button click)?
//cc @oleq
If you'd like to see this fixed sooner, add a π reaction to this post.
The text was updated successfully, but these errors were encountered: