},
+
+ cleanWordClipboard : function(input) {
+ var he = Roo.form.HtmlEditor;
+
+ var output = input;
+ for (i = 0; i < he.swapCodes.length; i++) {
+ var swapper = new RegExp("\\u" + he.swapCodes[i].toString(16), "g"); // hex codes
+ output = output.replace(swapper, he.swapStrings[i]);
+ }
+ return output;
+ }
+
+
cleanUpChildren : function (n)
{
if (!n.childNodes.length) {
'font-size'
];
+
+Roo.form.HtmlEditor.swapCodes =[
+ [ 8211, "--" ],
+ [ 8212, "--" ],
+ [ 8216, "'" ],
+ [ 8217, "'" ],
+ [ 8220, '"' ],
+ [ 8221, '"' ],
+ [ 8226, "*" ],
+ [ 8230, "..." ]
+];
+
+
\ No newline at end of file