Source code coloring is something we have extensively discussed in the past. It would be enough to make the source editor a DOM editable document, and apply a set of <span> styles in the source text. So far, so good.
While this thing is definitely doable we found out that it brings more problems than benefits. All problems turn around the same fact: the source editor would become an HTML enabled editor controlled by the browser. And here we have the most critical problems:
It would be possible to paste rich content on it. One would go to MS Word, copy something there and past it in the source, which would render that as HTML, showing images, tables, lists, headings, etc. I mean, not showind those things as HTML source, but really rendering them.
The same problem with Drag and Drop... you would be able to drop text, as well as images in the source (not the HTML of the image... the rendered image).
I think you are overcomplicating things here. Adding a Find & Replace function in the Source view just makes it easier to clean up after a paste from Word. For instance, I paste tons of stuff from university prospectuses, all in tables, and unfortunately the tables end up with different widths. Currently I have to copy the stuff back out of FCK into an HTML editor do eg. a find on "width=637" and replace with "width=640", and paste the HTML back into FCK.
Any update on this issue? I found http://dev.fckeditor.net/ticket/2842 and it was closed and marked as Duplicate. But the duplicate ticket is only talking about Find functionality. It does not talk about Replace functionality. Browsers do not have Replace.
Re: Source View requests
Re: Source View requests
Source code coloring is something we have extensively discussed in the past. It would be enough to make the source editor a DOM editable document, and apply a set of <span> styles in the source text. So far, so good.
While this thing is definitely doable we found out that it brings more problems than benefits. All problems turn around the same fact: the source editor would become an HTML enabled editor controlled by the browser. And here we have the most critical problems:
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Source View requests
Adding a Find & Replace function in the Source view just makes it easier to clean up after a paste from Word.
For instance, I paste tons of stuff from university prospectuses, all in tables, and unfortunately the tables end up with different widths.
Currently I have to copy the stuff back out of FCK into an HTML editor do eg. a find on "width=637" and replace with "width=640", and paste the HTML back into FCK.
Re: Source View requests
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Source View requests
Any update on this issue?
I found http://dev.fckeditor.net/ticket/2842 and it was closed and marked as Duplicate. But the duplicate ticket is only talking about Find functionality. It does not talk about Replace functionality. Browsers do not have Replace.
Can this be for earlier FCK release?