Commit Graph

43 Commits

Author SHA1 Message Date
Ján Mikláš
5bd6abe9d0 Remove textcolor and colorpicker from plugins, they are included in core
[MAILPOET-1799]
2019-08-29 11:13:15 -04:00
Michelle Shull
3fbdd861b2 [MQ-109] tests text block can be added to editor 2019-04-22 11:29:10 -04:00
Ján Mikláš
42f43e96e1 Allow <del> element in editor to correctly format discounted product
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
Jan Jakeš
5c92af4881 Add and fix comma-dangle rules for *.js files
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
bb658f77ec Fix indentaition in *.js files (auto-fix by ESLint)
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Jan Jakeš
afcde00003 Convert AMD and CommonJS odules to ES6
[MAILPOET-1829]
2019-02-21 11:52:39 -05:00
Rostislav Wolny
1df25aef76 editor: Disable update blockDefaults for texts and images 2018-03-15 11:23:54 +01:00
Pavel Dohnal
f7fcec7953 Fix eslint max-len in es5 files
[MAILPOET-1145]
2018-02-19 15:17:57 +00:00
Pavel Dohnal
699017532e Fix func-names rule in es5
Please remove those comments if you work on those files
[MAILPOET-1143]
2018-01-08 14:56:00 +00:00
Pavel Dohnal
8ea4a219e2 Fix padded-blocks eslint rule in ES5 files
[MAILPOET-1144]
2017-11-30 09:12:19 +00:00
Pavel Dohnal
fe0476e1c0 Fix no-shadow eslint rule in ES5 files
[MAILPOET-1144]
2017-11-29 14:49:19 +00:00
Amine Ben hammou
4e2e9f6f8f rebasing on master 2017-10-09 11:17:23 +00:00
Amine Ben hammou
c90e0e9f64 ES5 no-unused-vars 2017-10-09 11:15:58 +00:00
Amine Ben hammou
c3ea088fca ES5 one-var 2017-10-09 11:15:58 +00:00
Amine Ben hammou
680446b77e ES5 space-before-function-parens 2017-09-21 08:35:12 +00:00
Pavel Dohnal
f77620d649 Fix eslint no-undef in ES5
[MAILPOET-1085]
2017-09-11 15:03:30 +01:00
Pavel Dohnal
478e60d60e Fix indent rule in ES5
[MAILPOET-1029]
2017-09-07 15:51:25 +01:00
Amine Ben hammou
cd091c2af6 ES5: quotes 2017-08-24 09:16:51 +02:00
stoletniy
08f81bd816 Fix ES5 comma-dangle eslint rule [MAILPOET-1028] 2017-07-31 09:27:26 +02:00
Alexey Stoletniy
94f91afce1 Bring back list buttons to TinyMCE toolbar [MAILPOET-906] 2017-05-08 21:01:18 +03:00
Tautvidas Sipavičius
aa2416f353 Simplify settings views to use methods defined in base settings view 2017-04-24 18:00:23 +03:00
Tautvidas Sipavičius
592f11bd5f Fix App activation calls, fix block insertion animations 2017-04-24 18:00:23 +03:00
Tautvidas Sipavičius
0b8c787cda Partially migrate newsletter editor to Marionette 3.x from 2.x 2017-04-24 18:00:23 +03:00
Tautvidas Sipavičius
ceba5b3d0b Fix pasting from text editors and word processors [MAILPOET-829] 2017-04-12 13:17:45 +03:00
Tautvidas Sipavičius
aabe71d473 - Change TinyMCE to not convert URLs containing shortcodes;
- Refactor TinyMCE calls into reusable Behavior;
MAILPOET-670
2016-11-11 15:30:09 +02:00
Tautvidas Sipavičius
fa04173cfb Activate TinyMCE on click, to fix Interact blocking 2nd and further
focus events
2016-09-23 15:07:04 +03:00
Tautvidas Sipavičius
50e134d696 Allow dragging text blocks before activating TinyMCE 2016-09-22 17:44:43 +03:00
Tautvidas Sipavičius
99a81042c1 Merge pull request #507 from mailpoet/custom_shortcodes
Implements shortcodes for custom fields
2016-06-01 17:09:38 +03:00
Vlad
9642d3e672 - Renames all references of "custom fields" to "shortcodes" 2016-05-31 11:25:16 -04:00
Tautvidas Sipavičius
e6724b1d4a Change unsubscribe verifier to check for "Unsubscribe" shortcode
presence
2016-05-31 16:29:10 +03:00
Tautvidas Sipavičius
2b6e87c3a7 Force TinyMCE to use absolute URLs 2016-05-31 16:12:33 +03:00
Tautvidas Sipavičius
ccab8b4cf3 Add MailPoet.I18n for basic translation handling, removed MailPoetI18n 2016-03-23 14:52:06 +02:00
Tautvidas Sipavičius
eb27de36f4 Select active block format and allow custom colors in TinyMCe 2016-02-17 12:25:03 +02:00
Tautvidas Sipavičius
89782bc94b Refactor editor JS, change blocks to extend base methods 2015-12-17 16:58:02 +02:00
Tautvidas Sipavičius
8846bc9e43 Fix editor's newsletter saving tests 2015-09-24 17:07:23 +03:00
Tautvidas Sipavičius
df8af5610f Disable wplink integration for Text, Header, Footer blocks 2015-09-22 15:54:27 +03:00
Tautvidas Sipavičius
8ac9799df6 Move modules from Marionette to AMD modules, fix tests 2015-09-09 14:19:08 +03:00
Tautvidas Sipavičius
2aac4f2a70 Rename editor's modules to be anonymous 2015-09-09 14:19:07 +03:00
Tautvidas Sipavičius
e6d59496eb Reindent code by 2 spaces, instead of 4 2015-08-28 12:35:33 +03:00
Tautvidas Sipavičius
4d1fd2b2d8 Load TinyMCE directly from lib/, disable ajax functions 2015-08-28 12:21:40 +03:00
Tautvidas Sipavičius
c1d6f9ba44 Fix vendor asset loading, add initial newsletter data 2015-08-28 12:20:51 +03:00
Tautvidas Sipavičius
40507d2cad Wrap editor JS code in AMD modules and load them 2015-08-28 12:17:18 +03:00
Tautvidas Sipavičius
da371e33f4 Set up editor style compilation 2015-08-28 00:56:42 +03:00