SourceEditing and Markdown not working together
📝 Provide detailed reproduction steps (if any)
- Run the build (InlineEditor)
- Remove existing HTML
- Use the toolbar to enter any text with formatting
- Switch to Code
✔️ Expected result
Markdown code should be displayed
❌ Actual result
No visible change
📃 Other details
- Browser: Chrome
- OS:Windows
- First affected CKEditor version: 34.2.0
- Installed CKEditor plugins: Autoformat, Bold, Essentials, Heading, Image, ImageCaption, ImageInsert, Indent, Italic, Link, List, Markdown, Paragraph, SourceEditing, Table, TableToolbar, TextTransformation
- Build id: srgl131mhxs-6gjgt2dso5hr (InlineEditor)
I have the same problem when I use the DecoupledEditor editor. However, with the ClassicEditor editor they work correctly. Does anyone know of a solution? It is important to adapt the design of the project I am implementing.
True! I already work with decoupled editor and the source editing plugin not works. I just try with classic editor and works, I don't understand why not works with the other.
Yes, I am using the inline editor as well. I will try out the classic editor to see if it is working, although I need the InlineEditor interaction as, in my use case, there will be multiple editors on screen.
Hope the devs can look at this.
Hello,
The reason for this behaviour is that the source editing plugin is currently supported only in classic editor.
You can check it on source editing's page in documentation: https://ckeditor.com/docs/ckeditor5/latest/features/source-editing.html (in the blue info box right above the demo section).
@Acrophost Thanks for pointing that out. I should've found that myself in the documentation.
I had seen a trimmed down/custom version of the CK Editor with Inline Markdown Source editing being used in one of Microsoft's proprietary softwares so I assumed that the support is there. This was precisely why I came to CK Editor in the first place.
@birla can you please share the source code