Skip to content

Commit

Permalink
chore(examples): update iife
Browse files Browse the repository at this point in the history
  • Loading branch information
luolonghao committed Oct 26, 2024
1 parent 99be879 commit 3bdfacc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/iife.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
<meta charset="utf-8" />
<title>Lake example - IIFE / UMD</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="../assets/icons/favicon.ico" />
<link rel="stylesheet" href="../node_modules/katex/dist/katex.min.css" />
<link rel="stylesheet" href="../dist/lake.css" />
<script src="../node_modules/lake-codemirror/dist/codemirror.min.js"></script>
<script src="../node_modules/katex/dist/katex.min.js"></script>
<script src="../dist/lake.min.js"></script>
<style>
.lake-editor {
Expand Down Expand Up @@ -38,6 +41,10 @@
root: '.lake-root',
toolbar,
value: '<p><br /></p>',
slash: true,
mention: {
requestAction: '../assets/json/mention.json',
},
});
editor.render();
</script>
Expand Down

0 comments on commit 3bdfacc

Please sign in to comment.