[richfaces-issues] [JBoss JIRA] (RF-13680) Editor JS API method blur does not work after upgrade of CKEditor

Juraj Húska (JIRA) issues at jboss.org
Wed Jun 18 09:33:24 EDT 2014


    [ https://issues.jboss.org/browse/RF-13680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977374#comment-12977374 ] 

Juraj Húska commented on RF-13680:
----------------------------------

In CKEditor 3.x , there was a {{forceBlur}} method. Documentation [here|http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.focusManager.html].

In CKEditor 4.x there is only {{blur(noDelay)}} function, which should be used instead. Documentation [here|http://docs.ckeditor.com/#!/api/CKEDITOR.focusManager]

> Editor JS API method blur does not work after upgrade of CKEditor
> -----------------------------------------------------------------
>
>                 Key: RF-13680
>                 URL: https://issues.jboss.org/browse/RF-13680
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.5.0.Alpha3
>            Reporter: Juraj Húska
>              Labels: regression
>
> When executing JS function:
> {code}
> RichFaces.component('editorComponentClientId').blur();
> {code}
> Following error is thrown:
> {code}
> this.ckeditor.focusManager.forceBlur is not a function
> {code}
> It is probably caused by CKEditor upgrade in [this|https://github.com/richfaces/richfaces/commit/4c8ac2c970692ac96fde0ef3f505a1b7fbda3d29] commit.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list