Skip to content

Commit

Permalink
Update scripts.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuell1 authored Sep 15, 2023
1 parent 4b4fb40 commit 22b5ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/contenteditor/scripts.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% put scripts %}
<script type="text/javascript">
/* CONTENT EDITOR SCRIPT START */
document.addEventListener('DOMContentLoaded', function() {
document.addEventListener('page:loaded', function() {
ContentTools.StylePalette.add([
{% for style in __SELF__.palettes %}
new ContentTools.Style('{{ style.name ? style.name : style.class }}', '{{ style.class }}', {{ style.allowed_tags|json_encode()|raw }}),
Expand Down

0 comments on commit 22b5ae0

Please sign in to comment.