Open ghost opened 6 years ago
I also had a quick look at this. I noticed that the div#size__ctl
is present, but the corresponding buttons aren't. Bug or feature?
I'd also love to resize the window. Why isn't it the same size like the normal edit window?
I had another look at this. I think the missing "magic" is hidden in the file /lib/scripts/editor.js, which is not processed for the edittable editor.
At the moment I haven't figured out yet how to integrate this in die edittable editor...
Quick fix with Greasemonkey:
// ==UserScript==
// @name Change Editor Height
// @version 0.1
// @description Change the height of the editor
// @author You
// @match https://..../dokuwiki/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
var editor = document.getElementById("edittable__editor");
if (editor) {
editor.style.height = "950px";
}
})();
When you have a table that has more than a few rows, it seems that the edit window cannot be resized to show more. This seems inconsistent with the edit window for DokuWiki (link), where we are provided size and wrap controls (awesome).
I noticed that these controls aren't present when you're editing a table:
I fussed with the style definitions for "edittable__editor" in "editor.less", but to no avail. Suffices to say I'm no good with web coding. Any recommendations?
I am using:
Thank you for your work.