emoji picker

main
alexanderroese 2024-07-16 23:29:04 +02:00
parent 5b575d66e3
commit b0fdead784
1 changed files with 6 additions and 15 deletions

View File

@ -160,18 +160,13 @@
</style>
<script type="module">
console.log("loading module");
import "https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js";
import insertText from "https://cdn.jsdelivr.net/npm/insert-text-at-cursor@0.3.0/index.js";
console.log("module loaded")
</script>
<script type="text/javascript">
/*
https://cdn.jsdelivr.net/npm/insert-text-at-cursor@0.3.0/index.js
*/
{% comment %}
code copied from https://cdn.jsdelivr.net/npm/insert-text-at-cursor@0.3.0/index.js to use it in plain javascript instead of es6 module
{% endcomment %}
let browserSupportsTextareaTextNodes;
/**
@ -288,13 +283,9 @@
}
}
/*
*/
{% comment %}
end of copied code
{% endcomment %}
const FilamentList = {
"10": {