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

Reload config? #40

Open
gazben opened this issue Aug 23, 2017 · 5 comments
Open

Reload config? #40

gazben opened this issue Aug 23, 2017 · 5 comments

Comments

@gazben
Copy link

gazben commented Aug 23, 2017

Hello,

I want to dynamically set the readOnly property in the config, and right now, if I change the config the edito will not change.
Is there a way to make the editor reactie to the config changes?

@larkin-keith
Copy link

@gazben You can try add CKEDITOR.timestamp = new Date().getTime();

@gazben
Copy link
Author

gazben commented Aug 24, 2017

@lavenkin
Well I tried:

      /* eslint-disable */
      CKEDITOR.timestamp = new Date().getTime()
      /* eslint-enable */

In the Vue debug console I can see the config change to the desired value (readOnly: true/false), but the change is not reflected on the page. The page contains multiple ckeditors.
The code is called I can print out text from it.

I even tried from the console and the ckeditor remained read only.
Any ideas?

@dangvanthanh
Copy link
Owner

From v2.0.9 We're update readOnlyMode for change read only mode in Ckeditor

@dangvanthanh dangvanthanh self-assigned this Sep 13, 2018
@geri777
Copy link

geri777 commented Oct 10, 2018

I would like to change other parameters of the config as well. Isn't it possible to "watch" the whole config object for changes? Many thanks for your great work!

@dangvanthanh
Copy link
Owner

Hi @geri777

I will development more functions support such as you suggest. Thank you very much.

@dangvanthanh dangvanthanh moved this from Development to Todo in Vue.js and Ckeditor 4 Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants