@zipify/wysiwyg 2.1.0 → 2.2.0-0

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.
@@ -5,6 +5,7 @@ Object {
5
5
  "content": Array [
6
6
  Object {
7
7
  "attrs": Object {
8
+ "alignment": null,
8
9
  "line_height": null,
9
10
  },
10
11
  "content": Array [
@@ -34,6 +35,7 @@ Object {
34
35
  "content": Array [
35
36
  Object {
36
37
  "attrs": Object {
38
+ "alignment": null,
37
39
  "line_height": null,
38
40
  },
39
41
  "content": Array [
@@ -71,6 +73,7 @@ Object {
71
73
  "content": Array [
72
74
  Object {
73
75
  "attrs": Object {
76
+ "alignment": null,
74
77
  "line_height": null,
75
78
  },
76
79
  "content": Array [
@@ -96,6 +99,7 @@ Object {
96
99
  "content": Array [
97
100
  Object {
98
101
  "attrs": Object {
102
+ "alignment": null,
99
103
  "line_height": null,
100
104
  },
101
105
  "content": Array [
@@ -122,6 +126,7 @@ Object {
122
126
  "content": Array [
123
127
  Object {
124
128
  "attrs": Object {
129
+ "alignment": null,
125
130
  "line_height": null,
126
131
  },
127
132
  "content": Array [
@@ -150,6 +155,7 @@ Object {
150
155
  "content": Array [
151
156
  Object {
152
157
  "attrs": Object {
158
+ "alignment": null,
153
159
  "line_height": null,
154
160
  },
155
161
  "content": Array [
@@ -182,6 +188,7 @@ Object {
182
188
  "content": Array [
183
189
  Object {
184
190
  "attrs": Object {
191
+ "alignment": null,
185
192
  "line_height": null,
186
193
  },
187
194
  "content": Array [
@@ -214,6 +221,7 @@ Object {
214
221
  "content": Array [
215
222
  Object {
216
223
  "attrs": Object {
224
+ "alignment": null,
217
225
  "line_height": null,
218
226
  },
219
227
  "content": Array [
@@ -254,6 +262,7 @@ Object {
254
262
  "content": Array [
255
263
  Object {
256
264
  "attrs": Object {
265
+ "alignment": null,
257
266
  "line_height": null,
258
267
  },
259
268
  "content": Array [
@@ -295,6 +304,7 @@ Object {
295
304
  "content": Array [
296
305
  Object {
297
306
  "attrs": Object {
307
+ "alignment": null,
298
308
  "line_height": null,
299
309
  },
300
310
  "content": Array [
@@ -307,6 +317,7 @@ Object {
307
317
  },
308
318
  Object {
309
319
  "attrs": Object {
320
+ "alignment": null,
310
321
  "line_height": null,
311
322
  },
312
323
  "content": Array [
@@ -332,6 +343,7 @@ Object {
332
343
  "content": Array [
333
344
  Object {
334
345
  "attrs": Object {
346
+ "alignment": null,
335
347
  "line_height": null,
336
348
  },
337
349
  "content": Array [
@@ -358,6 +370,7 @@ Object {
358
370
  "content": Array [
359
371
  Object {
360
372
  "attrs": Object {
373
+ "alignment": null,
361
374
  "line_height": null,
362
375
  },
363
376
  "content": Array [
@@ -381,11 +394,54 @@ Object {
381
394
  }
382
395
  `;
383
396
 
397
+ exports[`block attributes should remove a few some attributes 1`] = `
398
+ Object {
399
+ "content": Array [
400
+ Object {
401
+ "attrs": Object {
402
+ "alignment": null,
403
+ "line_height": null,
404
+ },
405
+ "content": Array [
406
+ Object {
407
+ "text": "hello world",
408
+ "type": "text",
409
+ },
410
+ ],
411
+ "type": "paragraph",
412
+ },
413
+ ],
414
+ "type": "doc",
415
+ }
416
+ `;
417
+
418
+ exports[`block attributes should remove some attribute 1`] = `
419
+ Object {
420
+ "content": Array [
421
+ Object {
422
+ "attrs": Object {
423
+ "alignment": null,
424
+ "line_height": null,
425
+ },
426
+ "content": Array [
427
+ Object {
428
+ "text": "hello world",
429
+ "type": "text",
430
+ },
431
+ ],
432
+ "type": "paragraph",
433
+ },
434
+ ],
435
+ "type": "doc",
436
+ }
437
+ `;
438
+
384
439
  exports[`block attributes should set attributes 1`] = `
385
440
  Object {
386
441
  "content": Array [
387
442
  Object {
388
443
  "attrs": Object {
444
+ "alignment": null,
389
445
  "line_height": Object {
390
446
  "mobile": "1.3",
391
447
  },
@@ -408,6 +464,7 @@ Object {
408
464
  "content": Array [
409
465
  Object {
410
466
  "attrs": Object {
467
+ "alignment": null,
411
468
  "line_height": Object {
412
469
  "desktop": null,
413
470
  "mobile": "1.3",
@@ -432,6 +489,7 @@ Object {
432
489
  "content": Array [
433
490
  Object {
434
491
  "attrs": Object {
492
+ "alignment": null,
435
493
  "line_height": Object {
436
494
  "mobile": "1.3",
437
495
  },
@@ -454,6 +512,7 @@ Object {
454
512
  "content": Array [
455
513
  Object {
456
514
  "attrs": Object {
515
+ "alignment": null,
457
516
  "line_height": Object {
458
517
  "desktop": null,
459
518
  "mobile": "1.3",
@@ -478,6 +537,7 @@ Object {
478
537
  "content": Array [
479
538
  Object {
480
539
  "attrs": Object {
540
+ "alignment": null,
481
541
  "line_height": null,
482
542
  },
483
543
  "content": Array [
@@ -498,6 +558,7 @@ Object {
498
558
  "content": Array [
499
559
  Object {
500
560
  "attrs": Object {
561
+ "alignment": null,
501
562
  "line_height": null,
502
563
  },
503
564
  "content": Array [
@@ -518,6 +579,7 @@ Object {
518
579
  "content": Array [
519
580
  Object {
520
581
  "attrs": Object {
582
+ "alignment": null,
521
583
  "line_height": null,
522
584
  },
523
585
  "content": Array [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "2.1.0",
3
+ "version": "2.2.0-0",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "bin": {
@@ -1,61 +0,0 @@
1
- name: Deploy Example
2
- description: Deploy Example App
3
-
4
- inputs:
5
- folder:
6
- required: true
7
- description: bucket folder
8
-
9
- cache-control:
10
- required: true
11
- description: bucket folder
12
-
13
- aws-region:
14
- required: true
15
- description: AWS region
16
-
17
- aws-bucket:
18
- required: true
19
- description: AWS S3 region
20
-
21
- aws-access-key:
22
- required: true
23
- description: AWS access key
24
-
25
- aws-secret-key:
26
- required: true
27
- description: AWS secret access key
28
-
29
- outputs:
30
- public-url:
31
- value: ${{ steps.public-url.outputs.url }}
32
- description: App public url
33
-
34
- runs:
35
- using: "composite"
36
- steps:
37
- - uses: actions/cache@v3
38
- with:
39
- path: ./example/dist
40
- key: example-webpack-${{ github.sha }}
41
- restore-keys: |
42
- example-webpack-
43
-
44
- - run: npm run example:build
45
- shell: sh
46
-
47
- - run: npm run gzip ./example/dist
48
- shell: sh
49
-
50
- - uses: aws-actions/configure-aws-credentials@v1
51
- with:
52
- aws-access-key-id: ${{ inputs.aws-access-key }}
53
- aws-secret-access-key: ${{ inputs.aws-secret-key }}
54
- aws-region: ${{ inputs.aws-region }}
55
-
56
- - run: aws s3 sync --acl public-read --cache-control '${{ inputs.cache-control }}' './example/dist' 's3://${{ inputs.aws-bucket }}/${{ inputs.folder }}'
57
- shell: sh
58
-
59
- - id: public-url
60
- run: echo "::set-output name=url::https://${{ inputs.aws-bucket }}.s3.${{ inputs.aws-region }}.amazonaws.com/${{ inputs.folder }}/index.html"
61
- shell: sh