如何在Tinymce编辑器中动态调整图像?
我正在使用Tinymce编辑器。但是,我遇到了一个问题。我也可以添加图像并调整大小,但是当我调整大小时,高度和宽度都会以相同的比例调整大小。
我只想调整高度大小,而不会影响宽度和反之亦然。我唯一可以做到这一点的方法是对宽度和高度值进行硬编码,这是非常乏味的工作。如何修复它?
当我调整高度和宽度大小时,没有任何选项分别调整大小
I am using TinyMCE editor. However, I have run into a problem. I can add the image and resize it as well but when I resize, both height and width get resized by same proportion.
I want to resize only height without affecting the width and vice-versa. The only way I can do this is by hardcoding width and height values which is pretty tedious job. How to fix it?
When I resize both height and width gets resized, no option to resize them separately
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过单击锁定按钮
Unlock the width and height by clicking on the the lock button