Uploaded image for project: 'ZK CKeditor'
  1. ZK CKeditor
  2. ZKCK-30

CKeditor prevent some events, causes popups to not close.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 4.7.0.0
    • 4.4.6.2
    • None

      reproduce with:

      <zk>
      	<ckeditor>
      	<datebox/> //any other comp with popup such as chosenbox, etc.
      </zk>
      

      workaround:

      	zk.afterMount(function(){
      			CKEDITOR.on( 'instanceReady', function( evt ) {
      			    var editor = evt.editor,
      			        body = CKEDITOR.document.getBody();
      	
      			    editor.on( 'focus', function() {
      			    	for (var dtid in zk.Desktop.all)
      			    		zWatch.fire('onFloatUp', zk.Desktop.all[dtid]);
      			    } );
      			} );
      		});
      

            rudyhuang rudyhuang
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h