Changes between Initial Version and Version 1 of Ticket #5503, comment 7


Ignore:
Timestamp:
May 28, 2013, 9:47:17 AM (10 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5503, comment 7

    initial v1  
    11From the ticket #8437 you can see that same thing can be reproduced when pasting from Word.
    22
    3 IMO if CKEditor could wisely switch spans from
     3----
     4There are couple of solution here:
     5
     61. Since this is correct HTML and it does what it is told, we can tell users to use HTML in such order to get what they want. Not very user friendly
     7
     82. CKEditor could wisely switch spans from
    49{{{
    510<span style="background:lime;">
     
    1621</span>
    1722}}}
    18 Problem would be solved .
     23But what if someone actually wanted something like that- not a good idea.
     24
     253. Perhaps best solution would me merging span tags into one. When one wants to add style new rule would have to be added to span and when one wants to remove certain style, only this style would have to be removed and not whole span. [[BR]] There is still problem with bold/underline/italics. By default these are represented by strong/em/u. We can't expect editor to merge put these inside span. Either users should know what to use first and what second (can be described in docs) or devs creating apps with CKEditor should set these styles to use spans instead of default tags so as to get merging effect.
     26
     27This isn't easy issue and there are many cases to be considered. Some of them have been described: #8045, #7498, #8686.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy