tpmkms_4wp 8.9.1-beta.12 → 8.9.1-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/wp.js +7 -3
- package/common/wp.test.json +2440 -0
- package/package.json +2 -2
package/common/wp.js
CHANGED
@@ -10,6 +10,7 @@ const instance = require('./wp.instance.json')
|
|
10
10
|
|
11
11
|
/*
|
12
12
|
done
|
13
|
+
|
13
14
|
bold the first word
|
14
15
|
bold the first paragraph
|
15
16
|
bold the first letter
|
@@ -20,19 +21,22 @@ const instance = require('./wp.instance.json')
|
|
20
21
|
underline the paragraphs that contain bolded words
|
21
22
|
bold the first letter of every word
|
22
23
|
bold the third letter of the second paragraph
|
24
|
+
bold the first letter of every word that starts with t
|
23
25
|
|
24
26
|
current
|
25
27
|
|
26
|
-
|
28
|
+
underline the bolded words in the third paragraph
|
27
29
|
|
28
30
|
todo
|
29
|
-
|
31
|
+
|
32
|
+
bold the words that start with t in the third paragraph
|
30
33
|
bold the first letter of the words that start with t in the third paragraph
|
31
34
|
underline the bolded paragraphs
|
32
35
|
bold the paragraph that contains three bolded words
|
33
36
|
capitalize the first letter of the words that start with t
|
34
37
|
underline the first bolded word
|
35
38
|
underline the first bolded word that start with t
|
39
|
+
bold the first word of the second paragraph and third paragraph
|
36
40
|
the paragraph that contains the word boobies
|
37
41
|
|
38
42
|
after
|
@@ -217,7 +221,7 @@ template = {
|
|
217
221
|
// this one is "the bolded/underlined/italized/... word"
|
218
222
|
"((styleModifier_wp/*) [modifiedByStyle_wp] (statefulElement_wp/* && context.determiner == undefined))",
|
219
223
|
// the first letter of each paragraph
|
220
|
-
"((statefulElement_wp/*) <statefulElementInContext_wp|of> (statefulElement_wp/*))",
|
224
|
+
"((statefulElement_wp/*) <statefulElementInContext_wp|of,in> (statefulElement_wp/*))",
|
221
225
|
// the paragraph that contains words that start with t
|
222
226
|
"((paragraph_wp/*) [paragraphComparisonVerb_wp] (word_wp/*))",
|
223
227
|
],
|