fix(rich-text): delete repeat import (#967)
This commit is contained in:
parent
2cf5289e63
commit
4247eab395
|
@ -335,11 +335,9 @@ import ts from 'highlight.js/lib/languages/typescript'
|
||||||
import html from 'highlight.js/lib/languages/xml'
|
import html from 'highlight.js/lib/languages/xml'
|
||||||
import { lowlight } from 'lowlight'
|
import { lowlight } from 'lowlight'
|
||||||
|
|
||||||
// Placeholder
|
import { $props, setup, defineComponent, $prefix, directive } from '@opentiny/vue-common'
|
||||||
import Placeholder from '@tiptap/extension-placeholder'
|
|
||||||
|
|
||||||
import { props, setup, defineComponent, $prefix } from '@opentiny/vue-common'
|
|
||||||
import '@opentiny/vue-theme/rich-text-editor/index.less'
|
import '@opentiny/vue-theme/rich-text-editor/index.less'
|
||||||
|
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside'
|
||||||
|
|
||||||
function initLowLight() {
|
function initLowLight() {
|
||||||
lowlight.registerLanguage('html', html)
|
lowlight.registerLanguage('html', html)
|
||||||
|
@ -350,10 +348,6 @@ function initLowLight() {
|
||||||
/* @__PURE__ */
|
/* @__PURE__ */
|
||||||
initLowLight()
|
initLowLight()
|
||||||
|
|
||||||
import { $props, setup, defineComponent, $prefix, directive } from '@opentiny/vue-common'
|
|
||||||
import '@opentiny/vue-theme/rich-text-editor/index.less'
|
|
||||||
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside'
|
|
||||||
|
|
||||||
export const richTextEditorProps = {
|
export const richTextEditorProps = {
|
||||||
...$props,
|
...$props,
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
|
Loading…
Reference in New Issue