Skip to content

视频未按照设置对齐方式回显 默认显示居中(center) #425

@arcovery

Description

@arcovery

bug 描述

添加视频 设置对齐方式 回显默认显示居中(center)

你预期的样子是?

视频回显 对齐位置 按照设置的对齐位置显示

系统和浏览器及版本号

  • 操作系统 window11
  • 浏览器和版本 131.0.6778.109

wangEditor-next 版本

@wangeditor-next/editor@5.6.15

demo 能否复现该 bug ?

设置html
<div data-w-e-type="video" data-w-e-is-void style="text-align: right;">
  <video poster="" controls="true" width="auto" height="auto" style="width: 222px;height: auto;">
    <source src="http://vjs.zencdn.net/v/oceans.mp4" type="video/mp4" />
  </video>
</div>

在线 demo

最小成本的复现步骤

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions