Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wikisyntaxok option and Toolbar #322

Open
chtiland opened this issue Nov 14, 2021 · 0 comments
Open

wikisyntaxok option and Toolbar #322

chtiland opened this issue Nov 14, 2021 · 0 comments

Comments

@chtiland
Copy link

Hello !

It would be nice to be able to enable wikisyntaxok option, but also have an option to hide toolbar.
When wikisyntaxok is set "true", entire toolbar is displayed, but when you set many buttons (custombutton plugin) that are only for editors, visitors can also see these buttons and some they should not.

The only way to disable toolbar is to set wikisyntaxok "off", but no more wiki syntax can't be used (it's displayed as text), and this can be really "frustrating" when you need to reply with a link(1) or an picture.

So, It would be nice to distinguish these "options", one suggestion (discussion is open 😉 ) I can do is :

  • wikisyntaxok : Enable or not wiki syntax (no toolbar when disabled, text only discussions)
  • Toolbar :
    • "Full toolbar" : entire toolbar
    • "Light toolbar"(2) : text formatting, special chars, smileys, links (external syntax insertion should be enough) and picture (only adding syntax no need to use Dokuwiki's media manager)
    • "None" : No toolbar is displayed but wiki syntax still allowed if enabled

Best, would be to be able to define groups (Dokuwiki ACL) for each option (coma separated values)
E.g. :

  • Full toolbar : admin, editors
  • Light toolbar : users (identified)
  • None : Visitors (anonymous)

Another idea for "Light toolbar", would be to be able to set it's own button through a config file that should look like this

Bold      **{{SELECTED}}**               icon:bold.png
Italic    //{{SELECTED}}//               icon:italic.png
Link      [[{{SELECTED}}|{{CURSOR}}]]    icon.png

However, that's only suggestions for this nice plugin, but since I use it it's really something that I missed, don't know if others users would agreed.

Thanks for reading 😄

(1) Nowadays most of people didn't even know how to copy/paste a link, or they copy paste it in search engine field, not in url toolbar of their browser
(2) _Specific toolbar for discussion plugin that would not have nothing to deal with Dokuwiki's one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants