esvit/ng-ckeditor

Placeholder plugin throws an expection

Opened this issue · 1 comments

I am trying to add placeholder plugin to my editor - http://ckeditor.com/addon/placeholder

Added placeholder plugin into ng-ckeditor/libs/plugins/.Editor loads with below exception

TypeError: Cannot read property 'parent' of undefined at editor.dataProcessor.dataFilter.addRules.text

Code

        CKEDITOR.on( 'instanceCreated', function( event ) {
            var editor = event.editor,
                element = editor.element;

            editor.on( 'configLoaded', function() {
                editor.config.extraPlugins = 'placeholder';
            });
        });

also the assigned scope value doesn't shows in the editor.

can anyone help me?

Me too, ckeditor v. 4.3 - placeholder v. 4.3.5