-
-
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
Inline Code #5547
Comments
We should also think about adding support for codes in the autoformatter. It'd be awesome if it supported Another thing is an icon. cc @oleq. And one last thing is whether all this will work in the engine. We didn't yet check whether preformatted text works for real (although, we anticipated it) and it requires a bit different rendering approach. |
PS. When updating autoformatting, please don't forget to update its docs: https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/features/autoformat.html |
Ping me again when things become serious here ;-) |
I'm pinging :D This is queued for @pomek to work on. |
I would not worry about making it "preformatted" (in the model point of view) right now. A quick implementation that works just like bold and italic would do the job at this stage. A follow-up issue could come if we'll like to make this feature more complex later, so it handles spaces differently. |
If it will turn out that our space rendering algorithm fails to handle |
Btw, not even GH handles spaces inside inline code... so not sure if we should ever support it. |
For example, I'm adding 10 spaces inside the quotes here: |
LOL... true :D Anyway, this was taken care of a long time ago, so let's just see if it works. |
I like the |
Added |
Feature: Introduced the `Code` plugin. Closes #52.
There should be support for inline code markup, outputting the
<code>
HTML element.The text was updated successfully, but these errors were encountered: