Andrew Ozz
35ebd35801
TinyMCE: disable the tests for wptextpatterns
plugin in PhantomJS.
...
See #42009
git-svn-id: https://develop.svn.wordpress.org/trunk@41620 602fd350-edb4-49c9-b593-d223f7449a82
2017-09-27 16:21:24 +00:00
Andrew Ozz
656718a645
Fix linting errors in tinymce-obsolete.js.
...
See #40690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@40585 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-08 06:05:39 +00:00
Andrew Ozz
1727d6fbef
TinyMCE: remove the pre-4.6.0 tests. Move regression testing for obsolete tags and attributes to the default QUnit tests.
...
See #40690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@40584 602fd350-edb4-49c9-b593-d223f7449a82
2017-05-08 05:35:41 +00:00
Ella van Dorpe
c78f002ae6
TinyMCE: wptextpattern: Fix inline patterns.
...
* Allow spaces inside inline pattern text, unless the delimiter stands alone.
* Add more unit tests.
* Add more inline docs.
Part props azaozz.
Fixes #37693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@39150 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-06 23:37:09 +00:00
Ella van Dorpe
0f00396bb6
TinyMCE: wptextpattern: Handle unconverted inline patterns
...
Make sure the right text is matched when it already contains characters of the pattern.
Adds two more unit tests.
Fixes #37693 .
git-svn-id: https://develop.svn.wordpress.org/trunk@39075 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-01 20:05:48 +00:00
Ella Iseulde Van Dorpe
644795a9dc
TinyMCE: wptextpattern: fix for fast typing
...
Props jnylen0, iseulde.
Fixes #36585 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37668 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-09 19:06:25 +00:00
Ella Iseulde Van Dorpe
859d40bd24
Editor: wptextpattern: add back inline tests
...
See [37024].
See #33300 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37080 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-25 13:30:10 +00:00
Sergey Biryukov
57646fb7ba
TinyMCE: Adjust textpattern tests for the changes in [37023].
...
See #33300 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37024 602fd350-edb4-49c9-b593-d223f7449a82
2016-03-17 00:46:26 +00:00
Ella Iseulde Van Dorpe
37fda5a8b9
TinyMCE: textpattern: clean up
...
* Use editor.once instead of storing into variables.
* Add pattern for hr.
See #33300 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36719 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-26 00:51:01 +00:00
Ella Iseulde Van Dorpe
7040b4d932
TinyMCE: inline text patterns
...
First run.
See #33300 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36627 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-23 08:32:34 +00:00
Andrew Ozz
1d82f671a3
TinyMCE: update to 4.3.3. Update the QUnit tests and revert back to testing the non-minified files in /src.
...
Fixes #35539 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36352 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-20 04:17:22 +00:00
Ella Iseulde Van Dorpe
aaf15cdde8
TinyMCE: wptextpattern: trim whitespace
...
Props iseulde and azaozz.
Fixes #33246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33563 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-03 22:06:25 +00:00
Ella Iseulde Van Dorpe
34354fc3c0
TinyMCE: wptextpattern: headings on enter
...
Fixes #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33452 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 23:15:15 +00:00
Ella Iseulde Van Dorpe
fa1a214eb6
TinyMCE: wptextpattern: fix issue that removes content
...
* If the resulting text node is empty, don't remove all the content from the paragraph.
* If there's an empty text node at the start of the paragraph, ignore it and consider the next node to be the start.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32832 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-18 11:33:11 +00:00
Ella Iseulde Van Dorpe
11de1cedaa
TinyMCE: wptextpattern: make tests ~2x faster
...
* Reuse the same instance for all tests in the module.
* Run without CSS (skin).
* Less typing.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32706 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-07 22:15:47 +00:00
Ella Iseulde Van Dorpe
b866b19a20
TinyMCE: wptextpattern: disable for IE 8 and lower
...
Props azaozz, iseulde.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32700 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-06 22:37:13 +00:00
Ella Iseulde Van Dorpe
5bac5f7ccd
TinyMCE: add wptextpattern plugin
...
This plugin can automatically format text patterns as you type. It includes two patterns: unordered (`* ` and `- `) and ordered list (`1. ` and `1) `). If the transformation in unwanted, the user can undo the change by pressing backspace, using the undo shortcut, or the undo button in the toolbar.
This is the first TinyMCE plugin that has unit tests and there's some good groundwork for adding tests to existing plugins in the future.
First run. See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32699 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-06 20:07:00 +00:00