Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
indapublic opened this issue Jan 27, 2023 · 1 comment

Comments

@indapublic
Copy link

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
Copy link

jorrit commented Apr 9, 2024

Just do this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants