change "add link" text to "update link" if it's already a link
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
@click="showLinkMenu(getMarkAttrs('link'))"
|
@click="showLinkMenu(getMarkAttrs('link'))"
|
||||||
:class="{ 'is-active': isActive.link() }"
|
:class="{ 'is-active': isActive.link() }"
|
||||||
>
|
>
|
||||||
<span>Add Link</span>
|
<span>{{ isActive.link() ? 'Update Link' : 'Add Link'}}</span>
|
||||||
<icon name="link" />
|
<icon name="link" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user