You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at first thanks for this great product. I have much respect of what you are doing.
But ;)
Dealing with config.js is much much to complicated and to unflexible.
you can't cusomize it in a pretty easy way and thats for me and i think for other people a big problem.
Why is config.js not only a textarea field in settings of ckeditor, where you can put your js stuff and config stuff in?
It would make thinks for you and the user much easier.
Currently you are programming form fields to make js config customizable for the user. In my opinion it costs too much of time to make some settings editable.
The second part would be the maintenance of the product would be much easier. I you need a new config setting you no longer have to create an new form field, you only have to put it into the config string wich is avaliable through the "config.js" textarea field.
Issue #26 could be solved by the every user in a easy way if he would have full access to the config.js file. The following code would be the only thing you have to do.
CKEDITOR.on( 'dialogDefinition', function( ev )
{
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog we're
// interested in (the 'link' dialog).
if ( dialogName == 'link' )
{
dialogDefinition.getContents('info').get('protocol')['default']="";
}
});
I think people who wan't to customize ckeditor stuff are firm with java script and do not need a form driven customization.
Please think about it.
Btw. For me i currently patched ckeditor to get this use case running because time is money ;)
Thank to all
The text was updated successfully, but these errors were encountered:
Pull requests are welcome, I would let both ways possible, and let it also be managed using a textarea for advanced user warning them that they can break things...
Is this related to this? (see docs/FAQ.txt)
How to completly overload the ckeditor configuration with your own javascript config ?
Just create a javascript file called 'ckeditor_plone_config.js' in your ZMI > portal_skins > Custom or in a skin product.
Or do you want the ease of use of doing the change via the control panel per site?
Hello,
at first thanks for this great product. I have much respect of what you are doing.
But ;)
Dealing with config.js is much much to complicated and to unflexible.
you can't cusomize it in a pretty easy way and thats for me and i think for other people a big problem.
Why is config.js not only a textarea field in settings of ckeditor, where you can put your js stuff and config stuff in?
It would make thinks for you and the user much easier.
Currently you are programming form fields to make js config customizable for the user. In my opinion it costs too much of time to make some settings editable.
The second part would be the maintenance of the product would be much easier. I you need a new config setting you no longer have to create an new form field, you only have to put it into the config string wich is avaliable through the "config.js" textarea field.
Issue #26 could be solved by the every user in a easy way if he would have full access to the config.js file. The following code would be the only thing you have to do.
CKEDITOR.on( 'dialogDefinition', function( ev )
{
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
});
I think people who wan't to customize ckeditor stuff are firm with java script and do not need a form driven customization.
Please think about it.
Btw. For me i currently patched ckeditor to get this use case running because time is money ;)
Thank to all
The text was updated successfully, but these errors were encountered: