belsignum/rte_ckeditor_microdata
最新稳定版本:10.1.1
Composer 安装命令:
composer require belsignum/rte_ckeditor_microdata
包简介
FAQ Microdata support in CKEditor for Typo3
README 文档
README
This extension adds a Microdata Implementation for TYPO3 to CKEditor.
Add issues or explore the project on github.
Installation
-
Install the extension
-
Activate the extension in Extension Manager
-
Add a preset for rte_ckeditor or override the default one
-
via custom extension
<?php // EXT:my_ext/ext_localconf.php $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:my_ext/Configuration/RTE/Default.yaml';
-
via AdditionalConfiguration.php
// /typo3conf/AdditionalConfiguration.php $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'fileadmin/Template/Configuration/RTE/Default.yaml';
-
-
Add custom RTE config
# EXT:my_ext/Configuration/RTE/Default.yaml # or: # fileadmin/Template/Configuration/RTE/Default.yaml imports: # Import default RTE config (for example) - { resource: "EXT:rte_ckeditor/Configuration/RTE/Default.yaml" } # Import the microdata plugin configuration - { resource: "EXT:rte_ckeditor_microdata/Configuration/RTE/Plugin.yaml" }
-
Mod existing RTE config
# EXT:my_ext/Configuration/RTE/Default.yaml # or: # fileadmin/Template/Configuration/RTE/Default.yaml imports: # Import the microdata plugin configuration - { resource: "EXT:rte_ckeditor_microdata/Configuration/RTE/Plugin.yaml" } editor: config: # allow div and headers width attributes extraAllowedContent: > div[itemprop, itemscope, itemtype](*); h1[itemprop]; h2[itemprop]; h3[itemprop]; h4[itemprop]; h5[itemprop]; h6[itemprop];
Usage
-
Edit page properties goto Metadata tab and select type of web page
-
Edit a content element with a RTE text field and hit the "Insert Microdata" button
-
Add your question and your answer. This will add a schema.org HTML structure pattern. You can modify it with RTE but keep the main structure
-
Test your site on Google rich search results
To fix
Add further implementations! Currently only the FAQ microdata is supported
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2022-07-19