Improved visual editor
planned
J
Joppe Hoekstra
Currently, the visual editor is missing various features that are available in the markdown editor. Examples: changing the quote design, adding footnotes, and the option to add a horizontal bar.
For a modern wiki system, it would be really nice to see all these features to be working in the visual editor, so that users don’t have to learn markdown.
K
Kilian Wi
Would love to see that soon. Until ththen,en I add some features with a bit of a workaround.
A collapsable with summary is possible in markdown but not the visual editor. Since not every one at our company wants to edit in Markdown I added the feature via script:
just write
:::details Titel
Text goes here
:::end
and it gets replaced with details and summary tags in html
here is the script:
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('p').forEach((el) => {
const content = el.textContent.trim();
// Check if the content starts with :::details
if (content.startsWith(':::details')) {
const title = content.replace(':::details', '').trim(); // Extract the title
// Create the <details> and <summary> elements
const details = document.createElement('details');
const summary = document.createElement('summary');
summary.textContent = title;
details.appendChild(summary);
// Collect all sibling elements until :::end
let nextEl = el.nextElementSibling;
while (nextEl && !nextEl.textContent.trim().startsWith(':::end')) {
details.appendChild(nextEl); // Move the element into <details>
nextEl = el.nextElementSibling; // Update to the new sibling
}
// Remove the :::end marker if it exists
if (nextEl && nextEl.textContent.trim().startsWith(':::end')) {
nextEl.remove();
}
// Replace the original :::details element
el.replaceWith(details);
}
});
});
</script>
Nicolas Giard
planned
F
Falkgeist
Nicolas Giard Thank you very much! :)
F
Falkgeist
This feature request is currently ranking as Top 31 of all request, is still uncategorized and untagged, so apparently not even looked-at by the dev team. It would be nice to at least get any status update at this point, even if it is just a "will-not-implement".
Tak-MK
Falkgeist I could be wrong but maybe it's planned for after 3.0, at least seeing that the 3.0 alpha version looks like this --> https://beta.js.wiki/blog/2023-wiki-js-3-feature-preview-markdown-editor
F
Falkgeist
Tak-MK That's a preview of the markdown editor, not the visual editor, so what look/image are you referring to?
Tak-MK
Falkgeist You're totally right, my bad.
Will Stott
The visual editor also doesn't seem to support math expressions rendered with KateX
Seb Dostie
In a table, it would be nice to allow the formating of all selected cells. Only none-empty cells are formatted at the moment. So I I want my text to be BIG in all cell, I have to format it every time I add content in a new cell or select all the cells and apply formatting after each editing session.
Would also be important to be able to copy to multiple cells at once and be able to multi-select cells with shift or ctrl.
And column sorting and filters would also be very usefull
Yu Jin
What I would like to see is the possibility to add custom properties to elements, like tables and paragraphs so that I can use the css styles to influence it's apprearance individually, for example it is impossible to use flexbox.
Also would be nice if I could paste custom insets which would accept some input and translate it to html code defined by me, for example I want to add some hidden content (input) which would only be visible once the user clicks it. Or combined with the above use flexboxes with <div> elements to create some layout which adapts to the screen size.
Dave Tahseen
Although the markdown is great, there is no way I can get my colleagues to that use markdown. They want to share information in the Wiki but the step is just to great to write "code" so we're stuck with the visual editor.
The two things we miss the most are:
- Tabs
- Block quotes (info, warning,...)
DWAK
Since this request is all about updating the visual editor... changing the font color would be nice..
Tony Payne
Features I would find useful in the visual editor are:
- spell checker / synonyms with the ability to add to a dictionary for both.
- wrap cell contents in tables. Currently long lines don't wrap and make the page look horrible.
- option to set a link to open in a new page.
Łukasz Polowczyk
I for one would like it to not mess up the markdown file when converting. Actually a visual editor, it should only edit the markdown file, just more visually.
Load More
→