Hi,
I convert word file to HTML (with external library) and then I load it to CKEditor. But if in word file was Bold text I can't unbold the text in CKEditor. This is part of HTML which is loaded to CKEdiotr:
<span style="font-family: Arial; font-size: 10pt; font-style: italic;
font-weight: bold">«PISMO_DATA_2»</span>
I noticed that <b>«PISMO_DATA_2»</b> works fine. I can parse HTML but it is a lot of work (not only Bold option then I need to parse). Any other way to solve this problem?
Regards,
Nabuch
I have added following lines
I have added following lines to FCKConfig.CoreStyles:
'Bold':
{
Element: 'span',
Styles: { 'font-weight': '#("fontWeight")' },
Overrides: [{ Element: 'font', Attributes: { 'bold': 'normal'}}]
},
I can now unbold orginally bolded text. Unfortunaltelly not whole text. And I can't bold text again....
Please help me...
It adds a toolbar button and
It adds a toolbar button and fix the SHIFT-SPACE keyboard shortcut
_________________
bella