Skip to content

tinymce第一次打开正常,页面切换后再切换回来内容空白且无法编辑 #1507

Closed
@jspang582

Description

@jspang582
版本号:

2.2.1

问题描述:

页面切换后,tinymce富文本编辑器内容空白且无法编辑

截图&代码:

image

以下是我的解决办法:

<editor
  v-if="active"
  v-model="myValue"
  :init="init"
  :disabled="disabled"
  @onClick="onClick">
</editor>

mounted () {
    tinymce.init({})
    this.active = true
},
destroyed () {
    this.active = false
}

友情提示: 未按格式要求发帖,会直接删掉。

Activity

zhangdaiscott

zhangdaiscott commented on Jul 26, 2020

@zhangdaiscott
Member

3q

Chrry555

Chrry555 commented on Sep 29, 2022

@Chrry555

帮大忙了,多谢

UnicornXU

UnicornXU commented on May 25, 2023

@UnicornXU

还是不管用 不知道为啥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @zhangdaiscott@UnicornXU@Chrry555@jspang582

        Issue actions

          tinymce第一次打开正常,页面切换后再切换回来内容空白且无法编辑 · Issue #1507 · jeecgboot/JeecgBoot