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.
我在我的 asp.net Web 应用程序中集成了 tinyMCE, 我想知道如何在 tinyMCE 编辑器中搜索、替换和突出显示所有出现的单词?
看看 tinymce searchreplace 插件。这将让您逐步搜索和替换编辑器内容或替换所有出现的内容。为了突出所有发生的事情,您将实施自己的一些事情。由于您需要选择内容的不同部分,因此此处无法选择。对此的解决方案是将出现的事件包装到每个跨度中并赋予它们一种样式。