From 96840b886f4d83e36033a22ef356d89c265d3aca Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Mon, 30 Sep 2024 15:26:00 +0200 Subject: [PATCH] Fix mediatype Typo in excise.js (#8640) This fixes the typo "mediatype" instead of "mediaType" causing a RSOE --- core/modules/editor/operations/text/excise.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/editor/operations/text/excise.js b/core/modules/editor/operations/text/excise.js index bb5840c2e..0753705c5 100644 --- a/core/modules/editor/operations/text/excise.js +++ b/core/modules/editor/operations/text/excise.js @@ -13,7 +13,7 @@ Text editor operation to excise the selection to a new tiddler "use strict"; function isMarkdown(mediaType) { - return mediaType === 'text/markdown' || mediatype === 'text/x-markdown'; + return mediaType === 'text/markdown' || mediaType === 'text/x-markdown'; } exports["excise"] = function(event,operation) {