Deprecation: #93149 - T3Editor JavaScript module replaced by CodeMirrorElement
See forge#93149
Description
The T3Editor - that offers code editing capabilities for TCA
render
fields - has been refactored into a custom HTML
element
<typo3-
.
The element is provided by the new JavaScript module
js:TYPO3/
.
Impact
Using
<textarea class="t3editor">..</
will work as before.
The new custom element will automatically be used, but a deprecating warning
will be logged to the browser console.
Affected Installations
TYPO3 installations that use the T3Editor library in custom extensions, which is very unlikely.
Migration
Use the new
TYPO3/
module and adapt
your markup to read:
<typo3-t3editor-codemirror mode="..." addons="[..]" options="{..}">
<textarea name="foo">..</textarea>
</typo3-t3editor-codemirror>
Please make sure to drop the t3editor class from the textarea.