FriendsOfSymfony / FOSCKEditorBundle

Provides a CKEditor integration for your Symfony project.
Other
516 stars 83 forks source link

"Error code: exportpdf-no-token-url" or how we can remove plugin via configuration? #248

Open indapublic opened 1 year ago

indapublic commented 1 year ago

Hi, beautiful people!

"friendsofsymfony/ckeditor-bundle": "^2.4"
fos_ck_editor:
    default_config: basic
    configs:
        basic:
            toolbar: basic

On page load with integrated ckeditor I see this warning:

[CKEDITOR] Error code: exportpdf-no-token-url.
https://ckeditor.com/docs/ckeditor4/latest/guide/dev_errors.html#exportpdf-no-token-url

Yes, it's not a blocker but I want to avoid it anyway.

Regarding to Internet we should to use removePlugins property (Link #1, Link #2), but seems like this bundles doesn't support it

Thank you.

jorrit commented 3 months ago

Just do this:

fos_ck_editor:
    default_config: basic
    configs:
        basic:
            toolbar: basic
            removePlugins: 'exportpdf'