iframe 中插入符号的 xy 坐标

发布于 2024-10-05 18:23:12 字数 84 浏览 0 评论 0原文

我正在尝试使用 iframe 制作一个所见即所得编辑器,我不需要滚动条,因此当达到最大宽度时,文本应该开始出现在下一行。我需要插入符号坐标,请在这里帮助我

i am trying to make a wysiwyg editor using iframe i want no scrollbar so text should start appearing on next line when max-width is reached .i need the caret coordinates for that please help me out here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

Bonjour°[大白 2024-10-12 18:23:12

您不能在 iFrame 内使用固定宽度的容器 DIV 标签并按照 有没有办法在 div 中对长单词进行自动换行?

Can't you use a container DIV tag inside iFrame with fixed width and apply word wrap as suggested in Is there a way to word-wrap long words in a div?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文