TYPO3 8.7.7 설치가 있고 rte_ckeditor를 사용하고 있습니다. 편집기를 구성하려고하는데 작동하지 않는 것 같습니다. RTE.default.preset = full
또는 기타 사항을 설정하면 백엔드 양식에서 아무 것도 변경되지 않습니다.TYPO3 CKEditor - 구성이 작동하지 않습니다.
하지만 개별 옵션을 구성해야합니다. 그래서 비활성화 내가 폴더를 typo3temp 삭제 한도
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['mytemplate'] = 'EXT:mytemplate/Configuration/RTE/rte.yaml';
내 확장 ext_localconf.php에 등록 된 내 자신의 YAML 파일 (RTE.default.preset = mytemplate
), 백엔드를 통해 시스템 캐시, 도구를 설치를 통해 모든 캐시에 기본 설정을 설정 내 템플릿 확장을 다시 활성화했습니다.
또한 RTE에서 백엔드 양식의 내용을 변경하지 않습니다.
백엔드에서 시스템 캐시를 지우고 백엔드 양식을 저장할 때 유일한 경우가 있습니다. TYPO3에서 YAML 파일에 구문 오류가 있음을 보여줍니다. 이제는 모두 해결되었지만 다시는 아무것도 표시하지 않습니다. 그냥 기본 RTE ...
내 YAML 파일은 특별한 아무것도 없습니다 ... 그냥 와서 내 설정을 얻을 수있는 비결이 무엇 클래스와 "H6"
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
editor:
config:
contentsCss: ["EXT:mytemplate/Resources/Public/css/rte/rte.css"]
format_tags: "p;h1;h2;h3;h4;h5;h6"
stylesSet:
- { name: "align-left", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-left' }}
- { name: "align-center", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-center' }}
- { name: "align-right", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-right' }}
- { name: "align-justify", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6', 'p', 'td', 'th'], attributes: { 'class': 'align-justify' }}
- { name: "Headline Stil 1", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-1' }}
- { name: "Headline Stil 2", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-2' }}
- { name: "Headline Stil 3", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-3' }}
- { name: "Headline Stil 4", element: ['h1', 'h2', 'h3', 'h4','h5', 'h6'], attributes: { 'class': 'headline-style-4' }}
- { name: "Button-Link Primär", element: ['a'], attributes: { 'class': 'rte-btn-primary' }}
- { name: "Button-Link Sekundär", element: ['a'], attributes: { 'class': 'rte-btn-secondary' }}
- { name: "Button-Link Tertiär", element: ['a'], attributes: { 'class': 'rte-btn-tertiary' }}
toolbarGroups:
- { name: styles, groups: [ styles, format ] }
- { name: basicstyles, groups: [ basicstyles ] }
- { name: paragraph, groups: [ list, indent, blocks, align ] }
- { name: links, groups: [ links ] }
- { name: clipboard, groups: [ clipboard, cleanup, undo ] }
- { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] }
- { name: document, groups: [ mode ] }
justifyClasses:
- align-left
- align-center
- align-right
- align-justify
extraPlugins:
- justify
removePlugins:
- image
removeButtons:
- Anchor
- Underline
- Strike
- Styles
와 relaced 형식의 태그 "사전" 일?!
동일한 문제로 고민 중입니다 ... 해결책이 있습니까? – Swissdude
DCE 확장 프로그램에서 RTE 필드를 사용하고 있습니까? –
fluid_content, fluidpages 및 flux을 사용하고 있습니다. – Swissdude