This commit is contained in:
@@ -245,6 +245,11 @@ todo: would like to see who I'm logged in as at all times
|
|||||||
todo: QUOTE icon being used is fa-edit, but, that is much more useful in the UI for edit buttons on things, so change quote icon to something else
|
todo: QUOTE icon being used is fa-edit, but, that is much more useful in the UI for edit buttons on things, so change quote icon to something else
|
||||||
|
|
||||||
todo: ATTACHMENTS
|
todo: ATTACHMENTS
|
||||||
|
- server should send the list of attachments on an object with the object as a read only property
|
||||||
|
- This way they can be displayed in the UI without another hit to the server and used for attaching wiki images etc etc
|
||||||
|
- Server needs route to get attached files from direct url without headers being set
|
||||||
|
- dl token I guess in url? Appended to image urls?
|
||||||
|
- is there a way at the client to intercept urls and change them to include the dl token?
|
||||||
- ability to rename file on upload https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3546
|
- ability to rename file on upload https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3546
|
||||||
- stuff https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3484
|
- stuff https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3484
|
||||||
- handle initially missing files on import (they might fuck up the export from v7, ghost files idea see case in AyaNova regarding datadump)
|
- handle initially missing files on import (they might fuck up the export from v7, ghost files idea see case in AyaNova regarding datadump)
|
||||||
|
|||||||
@@ -163,7 +163,11 @@ export default {
|
|||||||
"Table",
|
"Table",
|
||||||
"InsertLink",
|
"InsertLink",
|
||||||
"LinkUrl",
|
"LinkUrl",
|
||||||
"LinkText"
|
"LinkText",
|
||||||
|
"InsertImage",
|
||||||
|
"ImageUrl",
|
||||||
|
"ImageDescription",
|
||||||
|
"File"
|
||||||
],
|
],
|
||||||
|
|
||||||
////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -202,7 +202,6 @@
|
|||||||
<v-icon>fa-image</v-icon>
|
<v-icon>fa-image</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-menu
|
<v-menu
|
||||||
min-width="300"
|
|
||||||
v-model="imageMenu"
|
v-model="imageMenu"
|
||||||
:close-on-content-click="false"
|
:close-on-content-click="false"
|
||||||
offset-y
|
offset-y
|
||||||
@@ -210,20 +209,35 @@
|
|||||||
:position-y="menuY"
|
:position-y="menuY"
|
||||||
absolute
|
absolute
|
||||||
>
|
>
|
||||||
<v-card width="300">
|
<v-card>
|
||||||
<v-card-title>{{ $ay.t("InsertImage") }}</v-card-title>
|
<v-card-title>{{ $ay.t("InsertImage") }}</v-card-title>
|
||||||
|
<div class="ma-4">
|
||||||
|
<v-tabs grow color="primary">
|
||||||
|
<v-tab>URL</v-tab>
|
||||||
|
<v-tab>{{ $ay.t("File") }}</v-tab>
|
||||||
|
|
||||||
<div class="ma-8">
|
<v-tab-item
|
||||||
<v-text-field
|
><div class="ma-8">
|
||||||
v-model="imageUrl"
|
<v-text-field
|
||||||
:label="$ay.t('LinkUrl')"
|
v-model="imageUrl"
|
||||||
></v-text-field>
|
:label="$ay.t('ImageUrl')"
|
||||||
<v-text-field
|
></v-text-field>
|
||||||
v-model="imageText"
|
<v-text-field
|
||||||
:label="$ay.t('LinkText')"
|
v-model="imageText"
|
||||||
></v-text-field>
|
:label="$ay.t('ImageDescription')"
|
||||||
|
></v-text-field></div
|
||||||
|
></v-tab-item>
|
||||||
|
<v-tab-item
|
||||||
|
><div class="ma-8">
|
||||||
|
FILE SELECT HERE FILE UPLOAD HERE
|
||||||
|
|
||||||
|
<v-text-field
|
||||||
|
v-model="imageText"
|
||||||
|
:label="$ay.t('ImageDescription')"
|
||||||
|
></v-text-field></div
|
||||||
|
></v-tab-item>
|
||||||
|
</v-tabs>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
|
|
||||||
@@ -719,7 +733,7 @@ export default {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.imageMenu = false;
|
this.imageMenu = false;
|
||||||
this.getSelectedRange();
|
this.getSelectedRange();
|
||||||
this.linkText = this.getSelectedText();
|
this.imageText = this.getSelectedText();
|
||||||
this.menuX = e.clientX;
|
this.menuX = e.clientX;
|
||||||
this.menuY = e.clientY;
|
this.menuY = e.clientY;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user