If you have a form with a "custom" editor field you see it.
Otherwise edit the article form in administrator/components/com_content/forms/article.xml
<field
name="descripton"
type="editor"
==> buttons="false"
filter="JComponentHelper::filterText"
height="200"
label="COM_MYCOMP_FIELD_DESCRIPPTION_LABEL"/>
No button
Button!
The height set in the form field above is of no use as it is overridden by a system wide parameter set in the tinyMCE plugin. That behaviour should be removed! I have to use a system plugin to change to the expected height.
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | Plugins |
Labels |
Added:
J4 Issue
|
@brianteeman this should fix it:
if (buttonValues.length) {
options.setup = (editor) => {
editor.addButton('jxtdbuttons', {
type: 'menubutton',
text: Joomla.JText._('PLG_TINY_CORE_BUTTONS'),
icon: 'none icon-joomla',
menu: buttonValues,
});
};
}
Line 85 onwards
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-19 15:01:40 |
Closed_By | ⇒ | brianteeman |
This a js issue in build\media_src\editors\tinymce\js\tinymce.es6.js
The button is always created even if you don't have any buttons enabled. Sorry but I have no idea how to fix that in js