Skip to content

Commit 2c36e49

Browse files
remove testing button
1 parent f199a13 commit 2c36e49

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

pages.html

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -820,21 +820,6 @@
820820
}
821821
}
822822

823-
// Debug function to test path conversion
824-
const testPathConversion = () => {
825-
const testPath = prompt(
826-
'Enter a test path (e.g. foo/bar):',
827-
'project/test'
828-
)
829-
if (testPath) {
830-
const converted = PageUtils.toSafeFilename(testPath)
831-
const fullPath = PageUtils.getPagePath(testPath)
832-
alert(
833-
`Original: ${testPath}\nConverted: ${converted}\nFull path: ${fullPath}`
834-
)
835-
}
836-
}
837-
838823
// Helper function to insert wiki link at cursor
839824
const insertWikiLink = () => {
840825
if (!editorRef.current) return
@@ -1045,29 +1030,6 @@
10451030
></path>
10461031
</svg>
10471032
</div>
1048-
1049-
<!-- Debug button -->
1050-
<div
1051-
class="view-option"
1052-
onClick=${testPathConversion}
1053-
title="Test Path Conversion"
1054-
style="background-color: #f97316;"
1055-
>
1056-
<svg
1057-
width="16"
1058-
height="16"
1059-
viewBox="0 0 24 24"
1060-
fill="none"
1061-
stroke="white"
1062-
stroke-width="2"
1063-
stroke-linecap="round"
1064-
stroke-linejoin="round"
1065-
>
1066-
<path
1067-
d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"
1068-
></path>
1069-
</svg>
1070-
</div>
10711033
</div>
10721034
</div>
10731035
<div class="page-nav">

0 commit comments

Comments
 (0)