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