alibaba / alibaba/lowcode-engine

富文本物料不支持

Open
#3,012 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

物料通过contentEditable实现富文本编辑,发现如果init传参designMode不设置为live,则contentEditable无法输入内容,而设置为live则无法拖拽、删除物料。有两个疑问想请教:

1. designMode为live具体的作用是什么?这个在文档里未找到
2. 为何不能直接支持contentEditable元素的编辑呢?主要考虑是什么

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with the init designMode option and a contentEditable material. Compare editing when designMode is not live with dragging and deletion when it is live, then determine the intended behavior and document or scope the required support; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.