replace

描述

此插件已于 2025 年 5 月 27 日 关闭,无法下载。 此关闭是暂时的,有待全面审核。

评价

2016 年 9 月 3 日
We’re working with a javascript that automatically looks-up an entry in a database if a <span> with a certain class has been placed around a word. Since you don’t want to type <span class=”abc”>entry</span>, we wanted to instead do it with these brackets: {entry}. We created a regular expression to perform the look-up. Other plug-ins would a) replace the contents of the post in the database -> this is not the desired behavior as “<span>”s sometimes get “eaten” by the visual editor b) work for posts, but not for pages c) work for posts, also for pages, but not inside shortcodes -> our theme uses shortcodes for a variety of things, so we needed them. d) completely break the site ___ re.place was the ONLY plug-in out of the 5 we tested that didn’t check any of the above and that ALWAYS worked exactly the way we wanted it to. I highly recommend it!
阅读所有1条评价

贡献者及开发者

「re.place」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「re.place」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志