| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | * |
| 31 | 31 | * @param {string} content The Shortcode as a text string. |
| 32 | 32 | * @return {Object} TablePress table block. |
| 33 | 33 | */ |
| 34 | -const convertShortcodeTextToBlock = function( content ) { | |
| 34 | +const convertShortcodeTextToBlock = function ( content ) { | |
| 35 | 35 | let shortcodeAttrs = shortcode.next( tp.table.shortcode, content ).shortcode.attrs; |
| 36 | 36 | shortcodeAttrs = { named: { ...shortcodeAttrs.named }, numeric: [ ...shortcodeAttrs.numeric ] }; // Use object destructuring to get a clone of the object. |
| 37 | 37 | const id = shortcodeAttrs.named.id; |
| 38 | 38 | delete shortcodeAttrs.named.id; |