Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 WYSISWG 文本编辑器为我的网站撰写帖子,它会生成带有各种格式标签的文本,例如
<strong></strong> <em></em> <ul><li> </li></ul>
我想从中摘录,但是当我只是剪切文本时,它会在随机位置剪切它,并且会破坏网站布局。有什么方法可以从富文本中摘录?