Closed KingDarBoja closed 4 years ago
The text-editor example code shows no extra configuration being passed to the td-text-editor component.
td-text-editor
However, this component display the entire toolbar with a set of icons which doesn't work if copy & paste the sample code at the docs.
The correct behaviour (not sure if a bug from EasyMDE) is shown below:
covalentEditorOpts: any = { lineWrapping: true, toolbar: ['bold', 'italic', 'heading', '|', 'quote'], };
The user must pass a set of icon names which are specified at toolbar-icons section from EasyMDE GitHub documentation.
Looks like the default behaviour of setting toolbar: true provide no icons.
toolbar: true
Cheers!
UPDATE By removing the toolbar option (or not specifying it on the editor options), the default icons will show up on the toolbar.
toolbar
Looks like it got fixed with latest release I think.
The text-editor example code shows no extra configuration being passed to the
td-text-editor
component.However, this component display the entire toolbar with a set of icons which doesn't work if copy & paste the sample code at the docs.
The correct behaviour (not sure if a bug from EasyMDE) is shown below:
The user must pass a set of icon names which are specified at toolbar-icons section from EasyMDE GitHub documentation.
Looks like the default behaviour of setting
toolbar: true
provide no icons.Cheers!