When opening the browser of available tokens from the CKEditor button, the modal window is narrow and not resizable, ie. less usable and nice looking than when opened at /token/tree from the default "Browse available tokens" anchor tag.
Looking at either /js/ckeditor5_plugins/tokenBrowser/src/token-browser-command.js
or /js/plugins/tokenbrowser/plugin.js
I see:
dialogClass: 'token-browser-dialog',
autoResize: false,
modal: false,
draggable: true,
but changing those didn't have an effect (infact the dialog wasn't draggable already).
I then tried installing admin_dialogs module to edit the modal width but, while it worked for the default dialogs provided by Token module, either by targeting it by path (/token/tree) or CSS class (for our case here it would be token-browser-dialog), I couldn't achieve the same for the dialog opened by the CKEditor plugin button "[-]".
Active
2.0
Code