tpmkms_4wp 8.9.1-beta.12 → 8.9.1-beta.14

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 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
25
+ underline the bolded words in the second paragraph
23
26
 
24
27
  current
25
28
 
26
- bold the first letter of every word that starts with t
29
+ bold the words that start with t in the second paragraph
27
30
 
28
31
  todo
29
- bold the first word of the second paragraph and third paragraph
32
+
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
  ],
@@ -343,6 +347,7 @@ template = {
343
347
  },
344
348
  ],
345
349
  priorities: [
350
+ { "context": [['word_wp', 1], ['wordComparisonWithVerb_wp', 0], ['comparisonWith_wp', 1], ['statefulElementInContext_wp', 0]], ordered: true, choose: [1] },
346
351
  { "context": [['paragraphComparisonVerb_wp', 0], ['word_wp', 0], ['wordComparisonWithVerb_wp', 0]], ordered: true, choose: [2] },
347
352
  { "context": [['statefulElementInContext_wp', 0], ['word_wp', 0], ['wordComparisonWithVerb_wp', 0]], ordered: true, choose: [2] },
348
353
  { "context": [['statefulElementInContext_wp', 0], ['comparisonWith_wp', 0]], choose: [1] },