From 77c6d88f80dccffca5fbf13ca4ea1c5fdcef69f9 Mon Sep 17 00:00:00 2001 From: Andy Dixon <7983876+andydixon@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:21:05 +0000 Subject: [PATCH 1/3] Update index.html Added example of cloning elements --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 7328905..d55e8fa 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,6 @@
This is editable content 1.
This is editable content 2.
-
This is editable content 3.
+
This is editable content 3, and this element can be cloned.
- \ No newline at end of file + -- 2.53.0 From 85874dcd0ce04ca288d0597051c687200efd86f6 Mon Sep 17 00:00:00 2001 From: Andy Dixon <7983876+andydixon@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:14:15 +0000 Subject: [PATCH 2/3] Update welcome.html Because I am stooopid --- cms/welcome.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/welcome.html b/cms/welcome.html index a4b70f8..d571f2c 100644 --- a/cms/welcome.html +++ b/cms/welcome.html @@ -45,7 +45,7 @@

Welcome to NeoCMS! 🎉

The super lightweight, database-free content management system!

- Start Editing your Website + Start Editing your Website
@@ -144,4 +144,4 @@ -
\ No newline at end of file +
-- 2.53.0 From ab54b1415bc236fb965ee87164ad9e106ef72c6b Mon Sep 17 00:00:00 2001 From: Andy Dixon Date: Wed, 13 Nov 2024 12:34:27 +0000 Subject: [PATCH 3/3] Fix hiding clone buttons. Fixes #18 --- cms/js/cms.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cms/js/cms.js b/cms/js/cms.js index ade06f6..3045907 100644 --- a/cms/js/cms.js +++ b/cms/js/cms.js @@ -285,6 +285,8 @@ $(document).ready(function () { $buttonContainer.css("position", "absolute"); $buttonContainer.css("top", "5px"); $buttonContainer.css("right", "5px"); + $buttonContainer.css("z-index","9999"); + var $duplicateBeforeButton = $(iframeDoc.createElement('button')); $duplicateBeforeButton.addClass('duplicate-btn-before').text('◀️').prop('title', 'Clone before'); -- 2.53.0