內容簡介
總結:C-Metric - Easy Block Editor 外掛讓你可以在獨立的 "C-METRIC" 區域中創建一個豐富的文本區塊欄位。所添加的內容動態反映在前端,提供了一個靈活且強大的管理網站內容的方式。
問題與答案:
問題:C-Metric - Easy Block Editor 外掛的主要功能是什麼?
答案:這個外掛可以在 Gutenberg 編輯器中添加一個自定義區塊類別 "C-METRIC",提供一個豐富文本區塊,可動態更新前端內容,並且與 Gutenberg 編輯器完全整合。
問題:C-Metric - Easy Block Editor 外掛的版權和授權信息是什麼?
答案:這個外掛根據 GPLv2 或更新版本進行授權,可以隨意貢獻、修改和分享遵守此授權條款。
問題:C-Metric - Easy Block Editor 外掛使用了什麼建構工具?
答案:這個外掛使用 npm 和 Webpack 進行資產編譯。若要構建項目,請按以下步驟進行操作:
1. 到 gutenberg 目錄:
```bash
cd /wp-content/plugins/easy-block-editor/gutenberg
```
2. 安裝依賴項:
```bash
npm install @wordpress/scripts --save-dev
```
3. 構建資產:
```bash
npm run build
```
外掛標籤
開發者團隊
② 後台搜尋「C-Metric – Easy Block Editor」→ 直接安裝(推薦)
原文外掛簡介
C-Metric – Easy Block Editor plugin allows you to create a rich text block field within a separate “C-METRIC” Block category. The content added to the block is dynamically reflected on the frontend, providing a flexible and powerful way to manage your site content.
Features:
Adds a custom block category “C-METRIC” in the Gutenberg editor.
Provides a rich text block that allows dynamic content updates on the frontend.
Simple and easy to use interface, fully integrated with the Gutenberg editor.
License & Copyright Information
This plugin is licensed under the GPLv2 or later. Feel free to contribute, modify, and share under the terms of this license.
Source Code
The non-minified versions of the JavaScript files used in this plugin are available in the plugin’s directory:
JavaScript: gutenberg/src/index.js
Build Tools
This plugin uses npm and Webpack for asset compilation. To build the project, please follow these steps:
Navigate to the gutenberg directory:
`bash
cd /wp-content/plugins/easy-block-editor/gutenberg
2.Install dependencies:
npm install @wordpress/scripts –save-dev
3.Build the assets:
npm run build
