tpmkms_4wp 8.9.0-beta.21 → 8.9.0-beta.23
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 +5 -1
- package/common/wp.test.json +1 -1
- package/package.json +2 -2
package/common/wp.js
CHANGED
@@ -33,6 +33,10 @@ const instance = require('./wp.instance.json')
|
|
33
33
|
word with 'a' in it
|
34
34
|
words containing a
|
35
35
|
every 5th word
|
36
|
+
|
37
|
+
in the first paragraph make the words that start with abc bold
|
38
|
+
bold the first three words that start with t
|
39
|
+
bold much and many
|
36
40
|
*/
|
37
41
|
|
38
42
|
class API {
|
@@ -89,7 +93,7 @@ const changeState = ({api, isA, context, toArray, element, state}) => {
|
|
89
93
|
const condition = context.element.condition
|
90
94
|
if (condition.marker == 'start_wp') {
|
91
95
|
const letters = condition.letters.letters.text
|
92
|
-
conditions.push({
|
96
|
+
conditions.push({ comparison: 'prefix', letters })
|
93
97
|
}
|
94
98
|
} else {
|
95
99
|
scope = context.element.quantity.quantity
|
package/common/wp.test.json
CHANGED
@@ -30539,7 +30539,7 @@
|
|
30539
30539
|
{
|
30540
30540
|
"conditions": [
|
30541
30541
|
{
|
30542
|
-
"
|
30542
|
+
"comparison": "prefix",
|
30543
30543
|
"letters": "abc"
|
30544
30544
|
}
|
30545
30545
|
],
|
package/package.json
CHANGED
@@ -315,8 +315,8 @@
|
|
315
315
|
"table": "^6.7.1",
|
316
316
|
"base-64": "^1.0.0",
|
317
317
|
"argparse": "^2.0.1",
|
318
|
-
"theprogrammablemind_4wp": "8.9.0-beta.
|
318
|
+
"theprogrammablemind_4wp": "8.9.0-beta.23"
|
319
319
|
},
|
320
|
-
"version": "8.9.0-beta.
|
320
|
+
"version": "8.9.0-beta.23",
|
321
321
|
"license": "UNLICENSED"
|
322
322
|
}
|