Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OpaoGuoNai opened this issue Apr 7, 2023 · 0 comments
Open

Comments

@OpaoGuoNai
Copy link

OpaoGuoNai commented Apr 7, 2023

现在:
<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写法,就无法处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant