5 Commits

Author SHA1 Message Date
Erez Rokah
c4cbae7725 revert: don't force multiline flag for editor component patterns (#3089)
* revert: don't force multiline flag for editor component patterns

refs: 338c1b68d2865a20fed851295451175b840983d4, 4839160ee6126adfbab7bfa58452560090c00737

github issues: 3088, 3086

* fix: only trim ending white spaces/line breaks when parsing shortcodes

remark validates the value of the 'eat' function using a prefix match between the original value and the value provided. Trimming the start can break that validation

* fix: change console log to warn
2020-01-15 10:28:09 -05:00
Shawn Erquhart
29299097cf fix(widget-markdown): allow multiline shortcodes (#3066) 2020-01-12 09:30:28 +02:00
Shawn Erquhart
14b6292eab
feat(editor-components): match any characters with shortcodes (#2268) 2019-04-10 15:23:53 -04:00
Caleb
6632e5d152 fix: bug fixes from linters (#1524) 2018-07-27 11:13:52 -04:00
Shawn Erquhart
f1a2eb33b4 migrate markdown widget 2018-07-25 21:17:57 -04:00