trilium
trilium copied to clipboard
(Feature request) Add CKEditor 5 General HTML Support
Describe feature
Would it be possible to add to CKEditor general html support with the corresponding source editing toolbar button? This would enable directly altering the HTML code and adding tags like
Awesome work with Trillium! It's such a joy to use it, thank you for your work and for making it free to the community!
Hi, this feature seems to be under development and quite immature. As an example, only "classic" editor is supported, Trilium uses "balloon" type editor. I think it's better to wait for now and revisit this issue later once this CKEditor stabilizes.
Thanks for the reply @zadam ! By now, I think the General HTML Support feature is already mature, the only issue I found was related to lists that had images, but even that seems to be solved in their github thread. Would you consider including this feature now or the HTML Embed feature to add arbitrary HTML snippets?
I really need the details tag, and allowing ids and classes for all elements would be sweet. If one wants to use a custom CK Editor build, is there a simple way to do it? Or would I have to change the build in the code and then recompile the program?
Thanks again!
If one wants to use a custom CK Editor build, is there a simple way to do it? Or would I have to change the build in the code and then recompile the program?
It's pretty complex. You'd need to recompile trilium's CKEditor fork and then include it into the trilium build.
If one wants to use a custom CK Editor build, is there a simple way to do it? Or would I have to change the build in the code and then recompile the program?
It's pretty complex. You'd need to recompile trilium's CKEditor fork and then include it into the trilium build.
Can you please show more detail, which configuration file we need to custom for recpmile?
This is not a supported process, I'm not going to spend time documenting this, sorry.