fix(rich-text): delete repeat import (#967)

This commit is contained in:
gimmyhehe 2023-11-30 14:43:01 +08:00 committed by GitHub
parent 2cf5289e63
commit 4247eab395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 8 deletions

View File

@ -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: {