You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be super nice if we could combine enableSourceEditingForNonAdmins with a specific user group permission. For larger clients, we often have a Super User group that should have wider permissions than other editor groups, and specifically the privilege to see/edit a CKEditor field source.
I imaging this as plugin user group permission option:
In combination with an extended test before removing the button
if (!$this->enableSourceEditingForNonAdmins && !($Craft::$app->getUser()->checkPermission("ckEditor:viewSourceEditingButton") || Craft::$app->getUser()->getIsAdmin())) {
ArrayHelper::removeValue($toolbar, 'sourceEditing');
}
(Hope you'll forgive me for adding a feature request as bug/issue since its the only option )
Thanks!
Additional info (N/A)
Craft version: 5.4.8
PHP version: 8.2
Plugins & versions:
CKEditor 4.2.0
The text was updated successfully, but these errors were encountered:
Description
I would be super nice if we could combine
enableSourceEditingForNonAdmins
with a specific user group permission. For larger clients, we often have a Super User group that should have wider permissions than other editor groups, and specifically the privilege to see/edit a CKEditor field source.I imaging this as plugin user group permission option:
In combination with an extended test before removing the button
(Hope you'll forgive me for adding a feature request as bug/issue since its the only option )
Thanks!
Additional info (N/A)
CKEditor 4.2.0
The text was updated successfully, but these errors were encountered: