xml support in ckeditor framework - ckeditor

I am evaluating tools for content editing ..and we are seriously looking for customization options for ckeditor. one major aspect which we would like to validate is.
XML schema support in ckeditor.. i know it is HTML editor, but i see through their documentation, that it supports XML transformation.
we are currently having XML editor, but it lacks flexibility in terms of customization.
I have queries. which i don't find an answer in their documentation.
is ckeditor can be used as XML editor?.
can editing content can be validated against XML syntax/schema?
can we make CKEditor as xml editor through CKEditor framework?if so, steps to achieve.
any useful links would help us to proceed further.

Related

Draft.js VS CKEditor?

Can we say Draft.JS is an alternative to CKEditor?
I have read about Draft.js and so far what I concluded is that it's written only for React.js where CKEditor on the other hand can be used in PHP, JS and all.
DraftJS has a lot more functionality, but it's also got virtually no community support by comparison so you're basically on your own as far as unlocking that functionality goes.
In my point of view draft.js won't replace the CKEditor. it's completely based on your requirement with the editor.
CKEditor is an stable WYSIWYG editor with advanced plugins.
Draft.js is an REACT based WYSIWYG editor component with the simple editorial behavior.

Colorize knockoutjs comment bindings in code editor

A project I'm working on makes extensive use of knockout comment bindings.
In the code editor, these are difficult to summarily differentiate from standard comments in the markup.
Is there any way that one might be able to make knockout comment bindings appear in a different color?
In the absence of a solution, I coded an editor classifier Visual Studio extension to change the color of knockoutjs comment bindings in documents with HTML content types:
https://github.com/biggyspender/knockoutjsCommentBindingHighlighter-
https://visualstudiogallery.msdn.microsoft.com/add2efac-979c-4cac-8e7b-d2a477e15276

Adding code snippets to a blog post in Lemoon

Does anyone have experience with adding formatted code snippets to a blog post using Lemoon? I have been using Syntax Highlighter in other systems and like it fine, but I'm wondering first if there's a built in solution in Lemoon. I noticed that the system uses codemirror for HTML view for editing content and wondered if that might also be used for formatting code snippets. Thanks.
Lemoon has a built in code EDITOR that uses codemirror. Just decorate your field appropriately as described here. This applies only to the administrative section of Lemoon.
You could use this field type to write your markup and snippets, but I guess you are looking for a better way to insert code snippets in your blog posts.
It is possible to configure the standard Lemoon HTML editor (TinyMce 3.x) to use a plugin that enables you to insert code snippets. https://github.com/RichGuk/syntaxhl looks promising (haven’t tried it though). You will find the TinyMce config files in the app_data\settings folder.
Another alternative is to switch to the HTML source and manually add the pre or code elements as needed.
As for presenting the snippets on your site, you could use codemirror (configured as read-only) or perhaps you are better off sticking with SyntaxHighlighter. In any way, you have to include the appropriate JavaScript files and handle the initialization yourself.

Webpage hosted HTML editor that graphically shows tag nesting in WYSIWYG view

I once found a webpage hosted HTML editor that optionally included the tags, as highlighted colour coded elements with the tag type, in the (almost) WYSIWYG view, but now cannot find the project anywhere.
I thought it an excellent compromise between WYSIWYG ease of use an markup flexibility.
Does anyone know which editor this was? Or maybe there is more then one editor with this feature?
Here is one that looks promising.
http://koivi.com/WYSIWYG-Editor/
This appears to match your request.
I found one such, and only one. Unfortunately it isn't the one I had seen before and so I'm still looking. They are called What You See Is What You Mean editors - WYSIWYM.
WYMeditor
Also see - http://en.wikipedia.org/wiki/WYSIWYM

How to add Html Editor with indented and colored generated HTML markup into Asp.net MVC 3?

tAll the experienced asp.net developers, suggestions pls.
I want to be able to use an HTML Editor into MVC 3 app. After googling, I found that TinyMCE JavaScript plugin would fit. My question here is? How can I highlight or indent and color HTML tags so it would be easy to read and edit them. For example, Visual Studio arrange very well the html on aspx or views page coloring each element :)
Can I achieve somehow the same result in an Html Editor code generated markup? Thanks!
I think your question boils down to this: Syntax highlighting code with Javascript
Your code language is HTML, and you need syntax highlighting and indentation. For example Prettify (mentioned in the first answer to the other question) can do that. Check out the HTML sample of Prettify here http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html#html
But you will see that HTML is quite broadly supported among the mature syntax highlighting javascript libraries, so it is worth to check out the others as well.

Resources