more module previews
This commit is contained in:
@@ -26,6 +26,7 @@ import Modules from '../editor/fields/modules.vue';
|
||||
import Nested from '../editor/fields/nested.vue';
|
||||
import State from '../editor/fields/state.vue';
|
||||
import Tags from '../editor/fields/tags.vue';
|
||||
import Link from '../editor/fields/link.vue';
|
||||
|
||||
|
||||
class EditorField
|
||||
@@ -214,6 +215,16 @@ class EditorField
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render a link picker
|
||||
* @returns {EditorField}
|
||||
*/
|
||||
linkPicker()
|
||||
{
|
||||
return this._setComponent(Link, {});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {object} EditorSelectItem
|
||||
* @param {object} key - Key/Id of the item
|
||||
|
||||
Reference in New Issue
Block a user