Skip to content

Commit

Permalink
Rename dummy variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Sep 27, 2024
1 parent 4caf9b3 commit 52bfc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion private/js/tiptap_plugins/cms.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Node } from '@tiptap/core';
import CmsDialog from "../cms.dialog.js";
import TiptapToolbar from "./cms.tiptap.toolbar";

const blockTags = ((x) => x.toUpperCase().substring(1, x.length-1).split("><"))(
const blockTags = ((str) => str.toUpperCase().substring(1, str.length-1).split("><"))(
"<address><article><aside><blockquote><canvas><dd><div><dl><dt><fieldset><figcaption><figure><footer><form>" +
"<h1><h2><h3><h4><h5><h6><header><hr><li><main><nav><noscript><ol><p><pre><section><table><tfoot><ul><video>"
);
Expand Down

0 comments on commit 52bfc70

Please sign in to comment.