#2835: plugin:newpage failed to refresh elementpath
-------------------------------+--------------------------------------------
Reporter: arczi | Owner: fredck
Type: Bug | Status: new
Priority: Normal | Milestone: CKEditor 3.0
Component: General | Version: SVN
Keywords: Confirmed Review- |
-------------------------------+--------------------------------------------
Changes (by fredck):
* keywords: Confirmed Review? => Confirmed Review-
* owner: garry.yao => fredck
* status: assigned => new
Old description:
> Steps to reproduce:
> -Open sample.html?sample=replacebyclass
> -Out cursor in "sample text". [B] is selected. Path: body-p-strong.
> -Click NewPage button
> -Editor is empty but [B] is still active and path is the same.
New description:
Steps to reproduce:
- Open sample.html?sample=replacebyclass
- Out cursor in "sample text". [B] is selected. Path: body-p-strong.
- Click NewPage button
- Editor is empty but [B] is still active and path is the same.
--
Comment:
There are a few problems with this patch:
- The "selection" plugin makes references to stuff introduced by the
"dialog" and "editingblock" plugins. The "selection" plugin is a kind of
'basic' feature for the entire core, we should not have those kinds of
references.
- Creating an event that fires "before" the dialog close logic will still
not fix all commands execution. Actually, it would work on dialog based
commands only and, as it's executed before the dialog logic, the selection
could still be wrong after the dialog logic is applied.
There are other ways for this fix. I'll be coming with a new patch for it.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2835#comment:5>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac