From cab1b37af5db8a0e60391775bac6dd1698cded1e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sat, 18 Apr 2020 01:09:36 +0000 Subject: [PATCH] --- ayanova/src/components/wiki-control.vue | 32 +++++++++++++------------ 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/ayanova/src/components/wiki-control.vue b/ayanova/src/components/wiki-control.vue index a215c2d5..5607dd00 100644 --- a/ayanova/src/components/wiki-control.vue +++ b/ayanova/src/components/wiki-control.vue @@ -34,11 +34,8 @@ class="aywiki pa-2 pa-sm-6 mt-2" > - - + +
fa-boldfa-square-full
+
+ +
" + this.getSelectedBlock() + "\n"); } else { this.replaceSelectedText("\n>"); @@ -371,20 +372,21 @@ export default { /** -todo: split view controls across entire top of both -todo: edit only view should not take up entire window :) -todo: tweak height once get it, goal is to keep toolbar in view but fill screen as much as possible - todo: all editing controls enabled - add image and link - determine how local images will be handled (attachments) baseurl setting for local images: https://marked.js.org/#/USING_ADVANCED.md#options +todo: replace all redundant clickXXX functions with a single function and a flag indicating what to do +todo: Undo / redo (ctrl-z / ctrl-y) ability? + - may need a library for this one if it's tricky to support levels of undo + + + todo: Add wikiContent field to form defintions at server so can hide or show in customization - Also for dataLists? (for reporting not grid I mean) - todo: event log type just for edit wiki? - this is because a wiki is not a discrete object in v8 so rights follow object itself and maybe it's necessary to know when wiki was edited?