@vixoniccom/news-internal 0.4.23-dev.0 → 0.4.23-dev.1

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/build.zip CHANGED
Binary file
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "author": {
9
9
  "name": ""
10
10
  },
11
- "version": "0.4.23-dev.0",
11
+ "version": "0.4.23-dev.1",
12
12
  "scripts": {
13
13
  "prepublish": "vixonic-module-packager --mode=build",
14
14
  "watch": "vixonic-module-packager --mode=watch",
@@ -2,6 +2,7 @@ import React, { useLayoutEffect, useRef, useState } from 'react'
2
2
  import { TextFormat } from '@vixoniccom/modules'
3
3
  import { parseFontName } from '../FontLoader'
4
4
  import DOMPurify from 'dompurify'
5
+ import './styles.css'
5
6
 
6
7
  const sanitizeHtml = (html?: string): string => {
7
8
  return html ? DOMPurify.sanitize(html, {
@@ -0,0 +1,14 @@
1
+ .ql-editor p,
2
+ .ql-editor ol,
3
+ .ql-editor ul,
4
+ .ql-editor pre,
5
+ .ql-editor blockquote,
6
+ .ql-editor h1,
7
+ .ql-editor h2,
8
+ .ql-editor h3,
9
+ .ql-editor h4,
10
+ .ql-editor h5,
11
+ .ql-editor h6 {
12
+ margin: 0;
13
+ padding: 0;
14
+ }