前言介紹
- 這款 WordPress 外掛「Always Edit In HTML」是 2011-04-03 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2024-07-04,距離現在已有 305 天。
- 外掛最低要求 WordPress 5.2 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
HTML Tab | HTML edit | HTML Mode | edit post in HTML | always edit in HTML |
內容簡介
如果你在 WordPress 頁面/文章編輯器中進行 HTML 程式碼輸入,但在「可視化」模式下重新格式化或甚至刪除它,那麼這個外掛就是你的解決方案。
Always Edit In HTML 是一個 WordPress 外掛,它會移除頁面/文章編輯器中的「可視化」選項卡,並以 HTML 模式打開你的頁面或文章,保留你的 HTML 程式碼。
為什麼你需要這個外掛呢?
WordPress 頁面/文章編輯器有兩個選項卡在右上角 -「可視化」和「文本」。
在「文本」選項卡中,你可以輸入 HTML 程式碼到頁面或文章中,當你保存或發布文章時,它會保留你輸入的程式碼。
「可視化」選項卡有所有的書寫風格工具,但當你保存或發布頁面或文章時,WordPress 會解析和格式化內容,這可能導致你的 HTML 程式碼無法工作,甚至被刪除。
WordPress 不會記憶每個頁面或文章的選項卡選擇。它會使用你最後使用的可視化或文本選項卡打開頁面或文章。
這意味著如果你在可視化選項卡中編輯了一篇文章,保存後編輯你輸入 HTML 程式碼的頁面,那頁面將在可視化模式下打開,你可能會遺失你的 HTML 程式碼。
如果只有一個外掛,可以讓你選擇始終以 HTML 模式打開頁面或文章。
咚咚!這就是那個外掛。
注意:對於 WordPress 5.x 用戶,只要安裝和啟用了經典編輯器外掛,這個外掛仍然可以工作。它不適用於 Gutenberg 塊編輯器。
外掛頁面
Always Edit In HTML
原文外掛簡介
If you find yourself entering HTML code into the WordPress page/post editor only to have it reformatted or worse removed when in Visual mode then here is the solution for you.
Always Edit In HTML is a WordPress plugin that removes the “Visual” tab in the page/post editor and opens up your page or post in HTML mode, preserving your HTML code.
Why would you need this plugin?
The WordPress page/post editor has two tabs at the top right – “Visual” and “Text”.
The Text tab allows you to enter HTML code onto the page or post and when saving or publishing the post it preserves your code just the way you entered it.
The Visual tab has all the fancy writing style tools but when you save or publish your page or post, WordPress parses and formats the content which may results in your HTML code not working or even being removed.
WordPress does not remember the tab option for each page or post. It will open up a page or post using whichever Visual or Text tab you last used.
This means that if you were editing a post using the Visual tab, saved it and then edited the page or post you had entered the HTML code into, that page would open in Visual mode and you could loose your HTML code.
If only there was a plugin that gave you the option to always open up a page or post in HTML
Ta da! Here’s one.
Note: For WordPress 5.x users, this plugin will still work when the Classic Editor plugin is installed and enabled. It does not work with the Gutenberg block editor.
Plugin Page
Always Edit In HTML
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Always Edit In HTML」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 2.0 | 2.1 | 2.4.0 | 2.4.1 | 2.4.2 | 2.4.3 | 2.4.4 | 2.4.5 | 2.4.6 | trunk |
延伸相關外掛(你可能也想知道)
HTML Mode Locker 》我們都曾經有過使用所見即所得編輯器時的挫折感,特別是在視覺模式與 HTML 模式之間切換時。如果您在日常操作中需要使用視覺編輯器,但您也需要有一些帖子或...。