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

Give the possibility to choose between Markdown or TinyMCE at the page creation #458

Closed
hotgeart opened this issue Aug 4, 2017 · 5 comments

Comments

@hotgeart
Copy link

hotgeart commented Aug 4, 2017

We use BookStack to write the doc at the office and some people are developpers orthers aren't so ofc the dev want to write in MK and the others don't want to learn MK.

So the choose can be specific to the page and not a global option ?

@fredericmohr
Copy link
Contributor

I personally would prefer it per book or chapter (or having all three options but allowing admins to disable some of them for their users).

If everyone can change the setting per page, it might lead to huge mix in HTML/MD pages, but per book it shouldn't be such a problem. Dev-Books can use MD while others use TinyMCE.

Just my 2c.

@ssddanbrown
Copy link
Member

Just for reference, Somewhat related to #119 and #369

@ssddanbrown
Copy link
Member

PR #3387 has now been merged, which allows switching of editor type from within the editor.
The editor type is then saved against the page itself, and uses the system setting as a default.
A preview can be seen here.

The code for this has been merged and is targeted for the next feature release (Likely v22.04).
I'm going to close off this issue as being covered by this change. While this issue specifically states "at page creation", I wouldn't really want to prompt a user with this choice before page creation since it would add an additional barrier & step. Having this within the page edit view achieves the fundamental request of this issue with pretty much the same ease/speed from an end-user perspective.

@fredericmohr (If you're still using BookStack 5 years later 😅) This addition does work at a book/chapter level but does come with permission control, A new role-permission has been added to control users that are able to switch the editor which I hope helps your scenario.

@ssddanbrown ssddanbrown added this to the v22.04 milestone Apr 24, 2022
@fredericmohr
Copy link
Contributor

fredericmohr commented Apr 24, 2022 via email

@ssddanbrown
Copy link
Member

@fredericmohr Amazing! That's wonderful to hear.

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

No branches or pull requests

3 participants