Opened 16 years ago
Last modified 16 years ago
#4395 closed New Feature
Use htmldataprocessor to refactor pasting clean up — at Initial Version
Reported by: | Garry Yao | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.1 |
Component: | General | Version: | |
Keywords: | Paste Confirmed | Cc: |
Description
We should start using htmldataprocessor when dealing with the pasting input, instead of current implementation which based on regexp exclusively, such a infrustructure would bring benefits in many sense:
- Allow structure transformation to happen easily toward the source instead of simply cleanup, e.g. MS-WORD created middot bullet -> HTML unordered list;
- Leveraging all the existing rules we currently have for output, e.g. flash object, namespaces tags;
- It will be much more easy for developer to extend/customize by adding/altering the rules.