diff --git a/docs/api/rich_text_editor.md b/docs/api/rich_text_editor.md index c9697be9a..36fa78013 100644 --- a/docs/api/rich_text_editor.md +++ b/docs/api/rich_text_editor.md @@ -65,8 +65,8 @@ rte.add('bold', { }); rte.add('link', { icon: document.getElementById('t'), - attributes: {title: 'Link',} - // Example on it's easy to wrap a selected content + attributes: { title: 'Link' }, + // Example on how to wrap selected content result: rte => rte.insertHTML(`${rte.selection()}`) }); // An example with fontSize