This commit is contained in:
2020-04-18 00:50:44 +00:00
parent 6b91dfc4a1
commit b3910673ac
2 changed files with 14 additions and 5 deletions

View File

@@ -1511,6 +1511,7 @@ ol p {
------------------------ /WIKI --------------------------- ------------------------ /WIKI ---------------------------
todo: document that emojis can be used in any text field and key combo on windows is winkey-period todo: document that emojis can be used in any text field and key combo on windows is winkey-period
-other os's too? -other os's too?
todo: make the navigation pane sticky so it remembers the last setting of hidden or showing in large view size
todo: enter new tag in widget doesn't trigger dirty? todo: enter new tag in widget doesn't trigger dirty?
todo: Test widget form as bizamdinlimited read only mode because I think several things are not right in read only mode todo: Test widget form as bizamdinlimited read only mode because I think several things are not right in read only mode

View File

@@ -81,11 +81,10 @@
<v-icon>fa-square-full</v-icon></v-btn <v-icon>fa-square-full</v-icon></v-btn
> >
</div> </div>
{{ view.SPLIT_VIEW }}
<div :style="wikiStyle()"> <div :style="wikiStyle()">
<v-textarea <v-textarea
auto-grow outlined
:height="editAreaHeight" :height="effectiveEditAreaHeight()"
ref="editArea" ref="editArea"
@input="handleInput" @input="handleInput"
@dblclick="handleDoubleClick" @dblclick="handleDoubleClick"
@@ -93,7 +92,7 @@
></v-textarea> ></v-textarea>
</div> </div>
</v-col> </v-col>
<!-- WIKI --> <!-- WIKI auto-grow-->
<v-col <v-col
v-if="showWiki()" v-if="showWiki()"
:cols="currentView == view.SPLIT_VIEW ? 6 : 12" :cols="currentView == view.SPLIT_VIEW ? 6 : 12"
@@ -145,7 +144,15 @@ export default {
}, },
methods: { methods: {
onResize() { onResize() {
this.editAreaHeight = window.innerHeight / 2; // this.editAreaHeight = window.innerHeight / 2;
this.editAreaHeight = window.innerHeight * 0.8;
},
effectiveEditAreaHeight() {
if (this.currentView == this.view.SPLIT_VIEW) {
return this.editAreaHeight;
} else {
return this.editAreaHeight; //property, can't return false
}
}, },
wikiStyle() { wikiStyle() {
if (this.currentView == this.view.SPLIT_VIEW) { if (this.currentView == this.view.SPLIT_VIEW) {
@@ -388,6 +395,7 @@ todo: event log type just for edit wiki?
Clean up the example markdown, go through and use mine and sprinkle in the marked sample stuff where it differs Clean up the example markdown, go through and use mine and sprinkle in the marked sample stuff where it differs
- Make sure images ONLY come from our own server, not any other - Make sure images ONLY come from our own server, not any other
- Maybe make a key image and put on our server for wiki example so we can if we feel like it track usage of demo data - Maybe make a key image and put on our server for wiki example so we can if we feel like it track usage of demo data
- Put a block of emojis in it with a link to the help docs regarding emojis for extra coolness
todo: STYLE OUTPUT CSS todo: STYLE OUTPUT CSS
- Check with marked to see what css they use or require or something, maybe I'm missing something they have on their site before I roll my own - Check with marked to see what css they use or require or something, maybe I'm missing something they have on their site before I roll my own