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
43dae50c0d
TinyMCE: fix removing a space before inline tags when applying formatting shortcuts.
...
Fixes #35798 .
git-svn-id: https://develop.svn.wordpress.org/trunk@36513 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-12 04:22:03 +00:00
Konstantin Obenland
eea1678cd3
Editor: Exclude shift from modifier keys when handling spacebar shortcuts.
...
Patterns that activate on enter are still canceled with any modifier active.
Props azaozz.
Fixes #33382 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33622 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-17 14:50:42 +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
18e5891539
TinyMCE: wptextpattern: stop propagation on undo
...
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33512 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:44:08 +00:00
Ella Iseulde Van Dorpe
662355f30c
TinyMCE: wptextpattern: undo on esc after enter
...
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33508 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 23:11:42 +00:00
Ella Iseulde Van Dorpe
976687bc59
TinyMCE: wptextpattern: reorder undo
...
After formatting on enter, undo should undo the formatting first, then undo the new line.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33507 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-29 22:48:02 +00:00
Ella Iseulde Van Dorpe
4393f478ea
TinyMCE: wptextpattern: fix typo and make it faster
...
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33458 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-28 11:40:29 +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
Drew Jaynes
5df16d63ac
Re-add parameter names to the add() DocBlock in wptextpattern accidentally replaced only with descriptions in [33200].
...
Props iseulde.
See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33205 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 18:08:48 +00:00
Drew Jaynes
5b766e2082
Add true descriptions to parameters for the add() method for wptextpattern, added in 4.3.
...
See [32703]. See #32891 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33200 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-13 17:54:42 +00:00
Andrew Ozz
4affc95146
TinyMCE: prevent error in the wptextpattern plugin when the first child node in a paragraph is not a text node.
...
See #31441 ;
git-svn-id: https://develop.svn.wordpress.org/trunk@32960 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-26 23:18:16 +00:00
Ella Iseulde Van Dorpe
9941421f72
TinyMCE: wptextpattern: escape should undo
...
Props azaozz.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32836 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-18 12:58:07 +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
a65f178bbb
TinyMCE: wptextpattern: Add blockquote and headings
...
As discussed in the editor meeting 9 June.
We should re-evaluate these additions towards the end of the release.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32795 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-16 13:51:37 +00:00
Ella Iseulde Van Dorpe
fc74e695f5
TinyMCE: wptextpattern: add docs
...
Props DrewAPicture and iseulde.
See #31441 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32703 602fd350-edb4-49c9-b593-d223f7449a82
2015-06-07 19:59:11 +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