Opened 18 years ago
Last modified 14 years ago
#66 confirmed New Feature
HTML Tidy for XHTML processing
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
It would be interesting to have the innerHTML generated by the browsers to be fixed with HTML Tidy in the server when switching to source view or before posting the data.
The process steps would be:
- Show a "Processing..." message in the interface.
- Retrieve the innerHTML (no changes to it). We know that the editor includes some custom elements and attributes there.
- Send the HTML to the server using XMLHttpRequest (synchronous).
- Process the HTML in the server using Tidy. "Tidy Processors" should be available on all supported server side languages.
- Receive the processed HTML from the server and inject it in a DOMDocument.
- Make the necessary changes in the DOMDocument, removing or changing browser specific or FCKeditor tags.
- Hide the "Processing..." message and update the hidden field, or the source view, depending on the case.
Well, this is an initial idea than must be further developed in the future.
Change History (5)
comment:1 Changed 18 years ago by
comment:2 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:3 Changed 16 years ago by
Milestone: | → CKEditor 3.0 |
---|
Maybe we'll not have this asynchronous operation in CKEditor, but we should have some clear integration with Tidy.
comment:4 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
#603 has been marked as dup