feat(编辑器): 实现富文本编辑功能并优化交互体验
添加富文本编辑功能,包括插入图片、表情和标签 优化键盘事件处理,支持特殊文本块操作 增加编辑器空状态提示和样式优化 修复光标定位和滚动行为问题
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
|
||||
function setRemUnit() {
|
||||
var docFontSize = (docEl.clientWidth / sizeUI) * remBase;
|
||||
console.log("bodyEl", bodyEl);
|
||||
docEl.style.fontSize = docFontSize + "px";
|
||||
bodyEl.style.fontSize = 16 / docFontSize + "rem";
|
||||
handleRemAdapt();
|
||||
|
||||
Reference in New Issue
Block a user