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 訂閱開發記錄