Hello,
I am creating my first plugin, based on what i understood from the table plugin I started to create the basics,
CKEDITOR.replace('content', {
customConfig : '/scripts/ckeditor/config.js',
extraPlugins : 'layout'
});
CKEDITOR.plugins.add( 'layout', {
requires: 'dialog',
lang: 'en',
icons: 'layout',
hidpi: true,
init: function( editor ) {
var layout = CKEDITOR.plugins.externals.layout,
lang = editor.lang.layout;
now at this point i get an error because editor.lang.layout is missing, I've looked at a dump of the editor.lang and there is no externals, and no other entries.
so my question is how do i get the i18n translation entries? or have I found a bug?
Thanks for any help!
Francis
I just resolved the issue, I
I just resolved the issue, I was looking in the wrong place, the language translation file needs to match so in my lang/en.js I needed
CKEDITOR.plugins.setLang( 'layout', 'en', {
hope that helps someone else!