Skip to content

建议导入word的图片,img标签宽度高度样式修改 #6

@OpaoGuoNai

Description

@OpaoGuoNai

现在:
<img style="position: relative; left: 0px; top: 0px; width: 679.26px; height: 657.66px; max-width: 100%;" src="http://localhost:8082/2023/tinymce/image/168083634775266379.png" data-tp-src="rId5" />
建议修改为:
<img style="position: relative; left: 0px; top: 0px; max-width: 100%;" src="/image/168083634775266379.png" data-tp-src="rId5" width="679.26" heigth="657.66"/>

好处:
移动端展示图片的时候,可以使用css样式强制适配,如果使用style写法,就无法处理

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions