BookStack
BookStack copied to clipboard
WYSIWYG Table Generator & Editor for Markdown Mode
For Feature Requests
Desired Feature: WYSIWYG Table Generator & Editor for Markdown Mode
Expected Behavior
When in markdown editor mode. Have the ability to create and edit tables in the same way when using the HTML editor.
Actual Behavior
Current behavior requires you to edit/create tables manually which can get complex and confusing.
The most impressive MD editor there is right now happens to be open source: https://github.com/benweet/stackedit
Adding that to Bookstack would make it absolutely amazing to write in.
I would like to second that. Tables take very long to create but what bothers me most are simple editor functions like making text bold. Support for keyboard shortcuts like cmd + b for making the selected text bold would be super awesome. I think using an editor like the one mentioned by @tmikaeld offers this functionality by default.
@Kovah Feel free to open an issue for adding a bold shortcut to the markdown editor.
If not yet seen, Available shortcuts can be seen here.
I realize this is a bit of a necro, but felt it worth throwing my support for.
I'm a big fan of the WYSIWYG editor that saves in MD syntax though. https://nhnent.github.io/tui.editor/api/latest/tutorial-example01-basic.html
After trying to deal with large tables (500+ rows), TinyMCE's performance is very poor. ToastUI seems to handle that much better. So I also support the idea of a new/addition editor if that's a possibility in the future.
Tables will never really be good in a wysiwyg editor, I'd suggest having a "Table" mode that's separate and use Handsontable (MIT Licensed) for that.
It can easily handle thousands of rows and csv import/export.
@tmikaeld I agree, that's ideal. The tables in these basic editors can't handle (not designed to) a lot and a full on spreadsheet function would be great. Will have to leave my sheets in Excel until that. Not sure revision history is possible with something like that though
To clarify the reason for my preference; my support for the WYSIWYG editor (e.g. ToastUI) is because it saves/writes the table in MD syntax, so the source document file isn't bloated.
However the functionality of Handsontable is intriguing; and I'd throw my support in it's corner if I were able to create a table separately and reference/embed it in a document. So the document file doesn't have the source syntax/code of the sheet cluttering up the content.
Alternative idea: Why not display Google Sheets inline? The excerpt in the viewing area should be scrollable (horizontal/vertical) and perhaps zoomable. No inline-editing. Instead a pencil button opens the sheet on Google’s website.
@Wookbert That's convenient of course, but for those that don't want to give their data to Google, that's not an alternative. But it would be nice as an option.
@Wookbert That's convenient of course, but for those that don't want to give their data to Google, that's not an alternative. But it would be nice as an option.
Well, I'm sure there are open-source/free/secure alternatives to Google Sheets which could be implemented/treated in the very same fashion. So perhaps several services (incl. Google Sheets) to choose from.
Just a note on this, It's now possible for a user to switch the page editor, where permission exists, to somewhat achieve this.
I suspect I'm not alone in this, so I'd like to add my use-case.
My employer is a mix of technical and non-technical staff. I would dearly love to be able to enable markdown mode for everyone, so that pages are stored in a consistent format, and technical people can write docs efficiently as they're used to for all the other platforms they use. However it's just not feasible to enable markdown for the non-technical users without a WYSIWYG toolbar for them to click things on.