Changes between Initial Version and Version 1 of Ticket #6215


Ignore:
Timestamp:
Sep 10, 2010, 1:18:19 PM (14 years ago)
Author:
Krzysztof Studnik
Comment:

After both changes has been made,

<span style="font-weight: bold;">bold</span>
<b>bold</b>

It is possible to switch style between bold and normal.

Checked on 3.4.1 SVN

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6215

    • Property Status changed from new to review
    • Property Owner set to Krzysztof Studnik
    • Property Keywords HasPatch added
  • Ticket #6215 – Description

    initial v1  
    1 if user copy content from web somewhere to ckeditor ,the html code is
    2 "<span style="font-weight: bold;">bold</span>",the editor's bold button (alway off state) is unusable for copied content.
     1if user copy content from web somewhere to ckeditor ,the html code is
     2{{{
     3<span style="font-weight: bold;">bold</span>
     4}}}
     5the editor's bold button (alway off state) is unusable for copied content.
    36
    4 and if i change coreStyles_bold to
    5 
     7and if i change coreStyles_bold in ''_source\plugins\basicstyles\plugin.js line 54''
     8to
    69{{{
    710{ element        : 'span',
     
    1316}}}
    1417
    15 when user copy "<b>bold</b>" to sourcearea ,and place cursor in the middle of bold (do not select a character) at wysiwyg mode ,the bold button's state is on,but if clicked ,nothing happened
     18when user copy
     19{{{
     20<b>bold</b>
     21}}}
     22to sourcearea ,and place cursor in the middle of bold (do not select a character) at wysiwyg mode ,the bold button's state is on,but if clicked ,nothing happened
    1623
    1724i modified code file (ckeditor 3.4) : _source/plugins/styles/plugin.js line 603
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy