a-ono / redmine_ckeditor

Redmine plugin for integration CKEditor
303 stars 140 forks source link

Toolbar configuration. Not possible do add or remove buttons #357

Open ricmtd opened 6 months ago

ricmtd commented 6 months ago

In the plugin configuration page: http://redmine/settings/plugin/redmine_ckeditor , is not possible to add or remove buttons, because the js function has an error.

redmine_ckeditor:221 Uncaught TypeError: selected.size is not a function at HTMLOptionElement. (redmine_ckeditor:221:16) at Function.each (jquery-3.6.1-ui-1.13.2-ujs-6.1.7.js?1701117004:2:3003) at S.fn.init.each (jquery-3.6.1-ui-1.13.2-ujs-6.1.7.js?1701117004:2:1481) at moveItem (redmine_ckeditor:219:43) at HTMLInputElement.onclick (redmine_ckeditor:196:44)

changing selected.size to selected.length make the buttons works

ckeditor_plugin

Redmine v.5.1.1 plugin version 1.2.4

dust2k commented 1 month ago

I got the same issue recently, already sent an email to Anna to see when she can fix it..