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 ---------------------------
todo: document that emojis can be used in any text field and key combo on windows is winkey-period
-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: 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
>
</div>
{{ view.SPLIT_VIEW }}
<div :style="wikiStyle()">
<v-textarea
auto-grow
:height="editAreaHeight"
outlined
:height="effectiveEditAreaHeight()"
ref="editArea"
@input="handleInput"
@dblclick="handleDoubleClick"
@@ -93,7 +92,7 @@
></v-textarea>
</div>
</v-col>
<!-- WIKI -->
<!-- WIKI auto-grow-->
<v-col
v-if="showWiki()"
:cols="currentView == view.SPLIT_VIEW ? 6 : 12"
@@ -145,7 +144,15 @@ export default {
},
methods: {
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() {
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
- 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
- Put a block of emojis in it with a link to the help docs regarding emojis for extra coolness
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