aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-01-17 15:10:49 +0100
committerache <ache@ache.one>2018-01-17 15:10:49 +0100
commit436a0f5abe117e9d19d6d91c9a2ad6201811cbd1 (patch)
tree0d9615887c31fc67329d4074f6590e060ca61e97
parentQuick fix (diff)
Revert modification
-rw-r--r--app.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/app.js b/app.js
index 08351af..a6eeecf 100644
--- a/app.js
+++ b/app.js
@@ -17,7 +17,21 @@ function plugin() {
}
if( value.search(END) > 0 ) {
return eat(value.slice(0,value.search(END))+value.match(END)[0])({
+ type:'html',
+ value:'<textarea>' + value.slice(value.match(START)[0].length+1, value.search(END)-1 ) + '</textarea>'
+ /*
type: 'form',
+ children: [ {
+ type: 'texterea',
+ children: [ { type: 'text',
+ value: value.slice(value.match(START)[0].length+1, value.search(END)-1 )
+ } ],
+ data: {
+ hName: 'textarea'
+ }
+ }],
+ */
+ /*
data: {
hName: 'form',
hChildren : [ {
@@ -30,6 +44,8 @@ function plugin() {
}
}]
}
+ hName: 'form'
+ }*/
});
} else
return true;