1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-20 20:01:37 +02:00

feat(admin-plugin): add SpeakingURL lib #211

This commit is contained in:
Awilum
2020-01-30 00:47:10 +03:00
parent f5e6d21b22
commit 86aaffe513
2 changed files with 5 additions and 5 deletions

View File

@@ -219,8 +219,9 @@
{% endfor %}
{% endfor %}
{% include "plugins/admin/templates/partials/vendor/codemirror.html" %}
{% include "plugins/admin/templates/partials/vendor/tippy.html" %}
{% include "plugins/admin/templates/partials/modules/codemirror.html" %}
{% include "plugins/admin/templates/partials/modules/tippy.html" %}
{% include "plugins/admin/templates/partials/modules/forms-save.html" %}
{% include "plugins/admin/templates/partials/modules/slugify.html" %}
</body>
</html>

View File

@@ -1,7 +1,6 @@
<script src="//cdn.jsdelivr.net/npm/speakingurl@14.0.1/speakingurl.min.js"></script>
<script>
$("#title").on("keyup change", function () {
var slug = getSlug($("#title").val());
$("#id").val(slug);
});
</script>
</script>