smart_paste doesn't detected pasted urls as link

未关闭
#611 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@hardikpedia 已经在做这个了。

开始于 2026年10月15日。

  • #11256 来自 @hardikpedia —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react, typescript
领域
frontend

调研方向

Start by reproducing the issue in the linked CodeSandbox with TinyMCE 7 and smart_paste: true, then check whether the same behavior occurs in TinyMCE’s open-source demo. Trace how the React component passes this setting to TinyMCE. Done means pasting a plain-text URL creates a hyperlink in the editor.

由索引模型根据 Issue 内容生成。

描述

status: escalated

What is the current behavior?
With smart_paste: true, pasting a URL as plain text does not get converted into a hyperlink. The editor inserts the URL as plain text (no tag is created).

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

Create a tinymce-react editor with TinyMCE 7.
Set smart_paste: true.
Paste a URL (example: https://example.com) into the editor.
Observe the inserted content (visually and/or via editor.getContent()).

You can also check in tinymce open source demo as well by enabling smart_paste and pasting a link.

What is the expected behavior?

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react?
All versions

主要语言
TypeScript
星标
1.1k
派生
167
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tinymce/tinymce-react 的其他 Issue

查看 tinymce/tinymce-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。