Revert example html

pull/501/head
Jeroen akkerman 2 years ago
parent d26b4e399b
commit 4b48564730

@ -13,52 +13,7 @@
<body>
<textarea></textarea>
<script>
const easyMDE = new EasyMDE({
showIcons: ["code", "table"],
toolbar: [
{
name: "bold",
action: EasyMDE.toggleBold,
className: "fa fa-bold",
title: "Bold",
},
'table',
{
name: "italic",
action: EasyMDE.toggleItalic,
className: "fa fa-italic",
title: "Italic",
},
{
name: "strikethrough",
action: EasyMDE.toggleStrikethrough,
className: "fa fa-strikethrough",
title: "Strikethrough",
children: [
{
name: 'link',
action: 'https://github.com/Ionaru/easy-markdown-editor',
className: 'fa fab fa-github',
title: 'A Custom Link',
noDisable: true,
noMobile: true,
},
'preview',
{
name: 'bold',
action: EasyMDE.toggleBold,
className: 'fa fas fa-bold',
title: 'Bold',
attributes: {
'data-custom': 'some value',
'data-custom-2': 'another value',
}
},
],
},
],
toolbarButtonClassPrefix: 'mde'
});
const easyMDE = new EasyMDE();
</script>
</body>

Loading…
Cancel
Save