Skip to content

Commit

Permalink
Revert example html
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionaru committed Sep 17, 2022
1 parent d26b4e3 commit 4b48564
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 4b48564

Please sign in to comment.