Opened 13 years ago
Closed 13 years ago
#8921 closed Bug (fixed)
Paste on a newly created ckeditor instance does not work on chrome
Reported by: | Alessandro Polverini | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.4 |
Component: | Core : Pasting | Version: | 3.6.3 |
Keywords: | Webkit | Cc: |
Description
Steps to reproduce:
- open a page where CK is instantiated
- click in edit area
- paste some text
What happens on Firefox: the pasted text appears in the editor What happens on Chrome: the caret disappears and no text is entered in the editor
Attachments (1)
Change History (11)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Keywords: | Webkit added; chrome removed |
---|---|
Status: | new → confirmed |
Reproducible from CKEditor 3.6.3 rev. [7383]
Just insert one or both of the below:
config.autoParagraph = false; config.enterMode = CKEDITOR.ENTER_BR;
comment:3 Changed 13 years ago by
I have created a test program at: http://www.adreflex.com/test/testedit.cfm
that illustrates the problem.
I have set: config.enterMode = CKEDITOR.ENTER_P;
and the problem remains
comment:4 Changed 13 years ago by
@westcoastbc I have written
one or both of the below
what means that only one of those options can cause this problem.
Yes you have set config.enterMode = CKEDITOR.ENTER_P;
but you have also set CKEDITOR.config.autoParagraph = false;
which causes the problem.
Changed 13 years ago by
Attachment: | 8921.patch added |
---|
comment:6 follow-up: 7 Changed 13 years ago by
Milestone: | → CKEditor 3.6.4 |
---|---|
Owner: | set to Garry Yao |
Status: | confirmed → review |
comment:7 Changed 13 years ago by
Replying to garry.yao: How do I implement the above patch? I have added the code in 8921.patch to _source\plugins\clipboard\plugin.js but the problem remains.
comment:8 Changed 13 years ago by
And what CKEditor script are you using on your page ckeditor.js or ckeditor_source.js? Changes in _source will be only visible when using ckeditor_source.js but this is good only for development. In release code ckeditor.js should be use.
Proper flow to apply the patch is to get SVN version of CKEditor, apply patch build new release. Please see comment from http://dev.ckeditor.com/ticket/8477#comment:3 and doc file from http://dev.ckeditor.com/ticket/8477#comment:4.
comment:9 Changed 13 years ago by
Status: | review → assigned |
---|
I've moved the review request to #9042 instead.
comment:10 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
After a bit of testing I discovered that the problem arise only when CK is istantiated with those options: