[WordPress] 外掛分享: IZ Block Editor Tooltips

首頁外掛目錄 › IZ Block Editor Tooltips
100+
安裝啟用
★★★★★
5/5 分(6 則評價)
490 天前
最後更新
問題解決
WordPress 5.9+ PHP 7.4+ v3.4.3 上架:2023-12-18

內容簡介

- 這個輕量級外掛可以在 RichText 工具列上添加「工具提示」按鈕。
- 您可以使用它在文章中的單詞和詞語上貼上氣泡提示框。
- 您可以通過管理設置頁面來設計提示框的樣式。
- 您也可以使用 CSS 和過濾器來設計提示框的樣式:
- add_filter('iz_bet_style_text_color', function() { return '#247DE0'; });
- add_filter('iz_bet_style_border_color', function() { return '#247DE0'; });
- add_filter('iz_bet_style_tooltip_text_color', function() { return '#fff'; });
- add_filter('iz_bet_style_tooltip_background_color', function() { return 'rgba(0, 010, 030, .85)'; });

如何貢獻:
- 如果您想幫助我開發這個外掛,請訪問它在 GitHub 上的存儲庫:https://github.com/IvanZhuck/wordpress-iz-bet。存儲庫包含源代碼和開發工具。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.4.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「IZ Block Editor Tooltips」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This lightweight plugin adds button “Tooltip” to the RichText toolbar.
Use it to paste popover tooltips over the words and phrases in your articles.
You can style tooltips with the admin settings page.
You can also style tooltips with CSS and using filters:
add_filter('izbet_style_text_color', function() { return '#247DE0'; });
add_filter('izbet_style_border_color', function() { return '#247DE0'; });
add_filter('izbet_style_tooltip_text_color', function() { return '#fff'; });
add_filter('izbet_style_tooltip_background_color', function() { return 'rgba(0, 010, 030, .85)'; });
add_filter('izbet_style_tooltip_font_size', function() { return '.8rem'; });
add_filter('izbet_style_tooltip_padding', function() { return '.6rem'; });
add_filter('izbet_style_tooltip_border_radius', function() { return '.3rem'; });

How to contribute
If you want to help me develop the plugin please visit its repository on GitHub: https://github.com/IvanZhuck/wordpress-iz-bet. The repository contains the source code and tools for development.

文章
Filter
Apply Filters
Mastodon