Implemented simple tables

SVN revision: 1801
This commit is contained in:
2007-02-28 19:57:43 +00:00
parent 5979d3c9b5
commit f99410d04f
3 changed files with 68 additions and 2 deletions
+2
View File
@@ -57,6 +57,8 @@ function elcode1(text, tag, value, selection)
str = selection + value;
else if (tag == 'LIST')
str = '[LIST]\r\n[*] ' + selection + '\r\n[/LIST]';
else if (tag == 'TABLE')
str = '[TABLE border="1"]\r\nA|B\r\n|-\r\nC|D\r\n[/TABLE]';
else if (value == '')
str = '['+tag+']' + selection + '[/'+tag+']';
else