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

If you can not update buttons #354

Open
qawsed55 opened this issue Mar 9, 2023 · 1 comment
Open

If you can not update buttons #354

qawsed55 opened this issue Mar 9, 2023 · 1 comment

Comments

@qawsed55
Copy link

qawsed55 commented Mar 9, 2023

I can not update buttons on toolbar.
In browser console there was error about selected.size() is not function

If you have same error you need to add code:

$(function() {
    $.fn.size = function() {
        return this.length;  }      });

before function addItem(item)
in redmine/plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb
Reload redmine and its all done )

@dust2k
Copy link

dust2k commented Jul 17, 2024

your code save me!!! thanks.

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