#2976: plugin:basicstyle remove style at collapsed selection
-----------------------+----------------------------------------------------
Reporter: garry.yao | Owner:
Type: Task | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: |
-----------------------+----------------------------------------------------
=== Description ===
Current inline style system doesn't handle the case when selection is
collapsed inside styled element correctly. A MS-Word mimics behavior
should be provided to actually allow users to type in the middle with the
style canceled.
=== Procedures ===
1. Open the ''replace by code'' example page in IE6;
1. Make selection as below:
{{{
<p>This is some <strong>sam^ple text</strong>. You are using <a
href="http://www.fckeditor.net/">FCKeditor</a>.</p>
}}}
1. Click '''bold''' command to cancel the bold style
* Actual Result :
{{{
<p>This is some sample text. You are using <a
href="http://www.fckeditor.net/">FCKeditor</a>.</p>
}}}
* Expected Result: The document remain unchanged, but when the user begin
to type from this selection point, text should in unbold style.[[BR]]
{{{
<p>This is some <strong>sam^ple text</strong>. You are using <a
href="http://www.fckeditor.net/">FCKeditor</a>.</p>
}}}
* E.g after user type 'xxx' , document should result in :
{{{
<p>This is some <strong>sam</strong>xxx<strong>ple text</strong>. You are
using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2976>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac