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: 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
|
||||
- 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)
|
||||
|
||||
@@ -163,7 +163,11 @@ export default {
|
||||
"Table",
|
||||
"InsertLink",
|
||||
"LinkUrl",
|
||||
"LinkText"
|
||||
"LinkText",
|
||||
"InsertImage",
|
||||
"ImageUrl",
|
||||
"ImageDescription",
|
||||
"File"
|
||||
],
|
||||
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
@@ -202,7 +202,6 @@
|
||||
<v-icon>fa-image</v-icon>
|
||||
</v-btn>
|
||||
<v-menu
|
||||
min-width="300"
|
||||
v-model="imageMenu"
|
||||
:close-on-content-click="false"
|
||||
offset-y
|
||||
@@ -210,20 +209,35 @@
|
||||
:position-y="menuY"
|
||||
absolute
|
||||
>
|
||||
<v-card width="300">
|
||||
<v-card>
|
||||
<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-text-field
|
||||
v-model="imageUrl"
|
||||
:label="$ay.t('LinkUrl')"
|
||||
></v-text-field>
|
||||
<v-text-field
|
||||
v-model="imageText"
|
||||
:label="$ay.t('LinkText')"
|
||||
></v-text-field>
|
||||
<v-tab-item
|
||||
><div class="ma-8">
|
||||
<v-text-field
|
||||
v-model="imageUrl"
|
||||
:label="$ay.t('ImageUrl')"
|
||||
></v-text-field>
|
||||
<v-text-field
|
||||
v-model="imageText"
|
||||
: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>
|
||||
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
|
||||
@@ -719,7 +733,7 @@ export default {
|
||||
e.preventDefault();
|
||||
this.imageMenu = false;
|
||||
this.getSelectedRange();
|
||||
this.linkText = this.getSelectedText();
|
||||
this.imageText = this.getSelectedText();
|
||||
this.menuX = e.clientX;
|
||||
this.menuY = e.clientY;
|
||||
this.$nextTick(() => {
|
||||
|
||||
Reference in New Issue
Block a user