From 17a159f3102e6eea4168dd9605b8b6776763d0a6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 5 Oct 2022 20:44:25 +0300 Subject: [PATCH] experimenting with editors... Signed-off-by: Alex A. Naanou --- pwiki/dom/wikiword.js | 1 + pwiki2.html | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/pwiki/dom/wikiword.js b/pwiki/dom/wikiword.js index e221c5e..c128af4 100755 --- a/pwiki/dom/wikiword.js +++ b/pwiki/dom/wikiword.js @@ -84,6 +84,7 @@ function(elem){ .forEach(function(text){ // skip stuff... if(text.parentNode.nodeName.toLowerCase() == 'a' + || text.parentNode.nodeName.toLowerCase() == 'script' || (text.parentNode.getAttribute('wikiwords') ?? '').toLowerCase() == 'no'){ return } var t = text.nodeValue diff --git a/pwiki2.html b/pwiki2.html index 8615a84..ea7116a 100755 --- a/pwiki2.html +++ b/pwiki2.html @@ -22,6 +22,40 @@ + + + + + + + + + +