mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 09:48:41 +00:00
fix tests
This commit is contained in:
parent
39457f6a64
commit
cd5cbc84ec
|
|
@ -129,11 +129,11 @@ export class Editor {
|
||||||
break;
|
break;
|
||||||
case 'table':
|
case 'table':
|
||||||
textarea.value = textarea.value.slice(0, startPosition) + '\n'
|
textarea.value = textarea.value.slice(0, startPosition) + '\n'
|
||||||
+ '| Tables | Are | Cool |' + '\n'
|
+ '| Tables | Are | Cool |\n'
|
||||||
+ '| ------------- |:-----------------:| -----:|' + '\n'
|
+ '| ------------- |:-----------------:| -----:|\n'
|
||||||
+ '| col 3 is | right - aligned | $1600 |' + '\n'
|
+ '| col 3 is | right - aligned | $1600 |\n'
|
||||||
+ '| col 2 is | centered | $12 |' + '\n'
|
+ '| col 2 is | centered | $12 |\n'
|
||||||
+ '| zebra stripes | are neat | $1 |' + '\n'
|
+ '| zebra stripes | are neat | $1 |\n'
|
||||||
+ textarea.value.slice(startPosition, textarea.value.length);
|
+ textarea.value.slice(startPosition, textarea.value.length);
|
||||||
break;
|
break;
|
||||||
case 'link': {
|
case 'link': {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user