﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10204	Introduce editor.htmlProcessor for input HTML processing	Piotrek Koszuliński		"There are two main input sources:

* data loaded to editor by {{{setData()}}},
* and html inserted into editor when pasting or directly by {{{insertHtml()}}}.

Currently input data which comes from both of these sources is processed by the same data processor - htmlDataProcessor.

However, the idea of data processors is to be able to handle different data formats - e.g. markdown and bbcode.

Because of the current architecture this is clearly impossible to replace editor.dataProcessor with e.g. markdownDataProcessor, because pasted data will be processed as... a markdown input.

Therefore I'm proposing to introduce second property - the editor.htmlProcessor. There will be two properties now:

* editor.dataProcessor - used for 1st kind of input (setData()),
* editor.htmlProcessor - used for 2nd kind of input (pasted, inserted HTML).

This is very simple fix - we need to set {{{editor.htmlProcessor = editor.dataProcessor}}} and use htmlProcessor instead of dataProcessor in editable.setData.

If one want to handle different input format he has to replace editor.dataProcessor with his own dataProcessor, what will not break pasting/inserting HTML like it does now."	New Feature	confirmed	Normal		Core : Output Data	4.0 Beta			
