javascript - Table cell borders get stripped by ckeditor in Internet Explorer when pasted from Word -


I have a problem where ckeditor removes the border style in Internet Explorer 10 on the HTML table pasted with 4.3.1 ms. Is the word Chrome and Firefox work as expected in the range and border- (top | right | bottom | left) style allowed contact Listed clearly for , tr , th , and td element.

Related ckeditor configuration override:

  $ ("# textareaElement"). (PasteFromWordRemoveStyles: false, pasteFromWordRemoveFontStyles: false, // Permissioned content is only shown below to show the td element of permission: 'td {limit, border-top, border-right, border-down, border- Left, background, padding, width, height} '// toolbar and toolbar group are not shown);  

When the same word document is pasted in the editor, the resultant HTML is different .

Paste after sample td element, IE:

  & lt; td sh Li = "padding: 0in 5.4pt; width: 87px; height: 32px;"> 

This is the cell content & lt; / td & lt; & gt; After the paste,

sample TD element, chrome:

  & lt; td Style = "border-point: none; boundary: solid window text 1ptpt; height: 32px; padding: 0in 5.4pt 0in 5.4pt; Width: 87px "> 

& lt; span style =" font-size: 12.0pt "& quot; Gt; This is the cell content & lt; / span & gt; & lt; / epic & gt; & lt; / p & gt; & lt; / td & gt;

above Examples are the same elements, none of Internet Explorer does not fit the border style paste, but they do the right thing in other browsers. For example CKEDITOR.editor Use the Dev tools console tab to drill in the code> filter.allowedContent object I have verified this that initially all the styles have been loaded correctly and are listed as permissible for td elements, but they are tampered with in any way.

I have no luck in browsing any varieties of Android API docs, or Google, or other answers.

I am sure that I am missing something clearly Has anyone else experienced this? E known solution?


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -