Is it possible to remove the design and preview options at the bottom because I don't want my users to change it. I would like to change those options on the fly based on the permission that I gave my users.
So if my user has read permission, they'll only see preview otherwise just the design option.
I want this done in javascript so my control is being set on the fly.
I used set_mode but the problem is that if I only specify design option during initialization, I can't change it anymore to preview mode. So I have to include design and preview during initialization.
Thanks for your reply before.
So if my user has read permission, they'll only see preview otherwise just the design option.
I want this done in javascript so my control is being set on the fly.
I used set_mode but the problem is that if I only specify design option during initialization, I can't change it anymore to preview mode. So I have to include design and preview during initialization.
Thanks for your reply before.