Giter Club home page Giter Club logo

Comments (9)

sennpang avatar sennpang commented on July 23, 2024 1

谢谢, 看来短时间内 无法解决呀

这个解决方案就是监听compositionstart和compositionend,当start时如果selection是expand状态,则删除节点,可能还需要movepoint的操作,这个就根据需要了

from fantasy-editor.

 avatar commented on July 23, 2024

演示视频: https://files.catbox.moe/rwounm.mp4 (视频链接可能失效)

from fantasy-editor.

lingjieee avatar lingjieee commented on July 23, 2024

image
这是slate的一个bug,主要是由于中文输入法引起的,老外不存在这个问题,所有这个bug一直没人管
ianstormtaylor/slate#3292
https://www.zhihu.com/question/361228704/answer/937791493

from fantasy-editor.

 avatar commented on July 23, 2024

谢谢, 看来短时间内 无法解决呀

from fantasy-editor.

crazyair avatar crazyair commented on July 23, 2024

关注,做了一个月 deaft-js,后发现这个,觉得我要换这个了,可是中文这。。。

from fantasy-editor.

hdsuperman avatar hdsuperman commented on July 23, 2024

@stfenjobs @crazyair @baijiahei 你们解决问题了吗?我也是搞slate,能否加个联系方式沟通下,我们搞个 slate 的交流群

from fantasy-editor.

1c7 avatar 1c7 commented on July 23, 2024

有结论吗?你们怎么解决的?

from fantasy-editor.

 avatar commented on July 23, 2024

@Q-Qplus1s 我换了别的编辑器 https://github.com/nhn/tui.editor

from fantasy-editor.

1c7 avatar 1c7 commented on July 23, 2024

tui.editor 挺一般的,我还提过 PR:nhn/tui.editor#244 (只是说明轻度参与过)

水过一篇博客:2018-8-2 弃用 tui.editor 富文本编辑器的原因
https://1c7.me/2018-8-2-abandon-tui-editor/

仅供参考

from fantasy-editor.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.