This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi there,
normally in the settings we change the toolbar buttons and commands of the richtext editor that is general and default for all the forms and for all the backend users. That's is fine and just work.
Now, I'd need to differentiate the options depending by the user's role... for example only an admin could use the "view html code" button. Is there a chance to intercept the configuration in the plugin.php and depending by the user, to inject a new option before to render the backend page? or, any other ideas?
thnx! Ivan
Hey Ivan,
This feature does not exist at the moment but I have recorded it in our internal system as something to consider in the future as a native feature.
As far as introducing it yourself, via code extension, this is something that would require investigative time from us and is a request more suitable for premium support.
It might be possible to examine where the toolbar settings are fetched and intercept it here...
Good luck and have fun!
ok, thank you for your answer, I'll try to focus on this and maybe help you finding a solution...
in the meantime I found a strange behaviour (bug?) that was already discussed in a old issue: https://github.com/octobercms/october/issues/3064
it seems that when the user add a link to internal pages (using the page search function), it always add it at the start of the content. Wasn't something already fixed?
Last updated
1-3 of 3