aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;