Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

dir="rtl" 发现边距缩进有误,需更新样式表 #479

Open
HerbertHe opened this issue Apr 10, 2022 · 2 comments
Open

dir="rtl" 发现边距缩进有误,需更新样式表 #479

HerbertHe opened this issue Apr 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@HerbertHe
Copy link

bug 描述

如下图,开启 dir="rtl" 属性之后,边距缩进有误。

image

你预期的样子是?

左右边距相同

系统和浏览器及版本号

  • 操作系统 Win10
  • 浏览器和版本 Edge 最新

wangEditor 版本

demo 示例

demo 能否复现该 bug ?

最小成本的复现步骤

(请告诉我们,如何最快的复现该 bug)

  • 手动修改 wangEditor 挂载的 DOM 的 HTML,设置属性 dir="rtl"
  • 输入任意内容
  • 即可复现
@HerbertHe HerbertHe changed the title dir="rtl" 发现边距缩进有误,需样式表 dir="rtl" 发现边距缩进有误,需更新样式表 Apr 10, 2022
@wangfupeng1988 wangfupeng1988 added the bug Something isn't working label Apr 11, 2022
@wangfupeng1988
Copy link
Contributor

目前对 rtl 支持并不好

@HerbertHe
Copy link
Author

目前对 rtl 支持并不好

样式表用flexbox进行布局的话,设置rtl之后,基本上可以支持比较好。但边距这些的话,需要两端对称。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants