@griddo/core 12.4.0 → 12.5.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.
@@ -32,6 +32,27 @@ interface RichTextConfig {
32
32
  */
33
33
  className: string;
34
34
  }>;
35
+ /** Class names configuration for the image options */
36
+ imageStyles?: Array<{
37
+ /** The label that appears in the Griddo rich-text editor */
38
+ label: string;
39
+ /**
40
+ * The class name without the dot
41
+ * @example
42
+ * className: "big-text"
43
+ */
44
+ className: string;
45
+ }>;
46
+ /**
47
+ * Lets the author resize the images of a rich-text field, both by dragging
48
+ * the image corners and through the size button of the image toolbar.
49
+ *
50
+ * The size is stored as an inline percentage width, so the instance is
51
+ * responsible for its responsive behaviour.
52
+ *
53
+ * @default false
54
+ */
55
+ imageResize?: boolean;
35
56
  /** Language configuration for the language accessibility options */
36
57
  editorLangs?: Array<{
37
58
  /** The label that appears in the Griddo rich-text editor */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@griddo/core",
3
3
  "description": "Reload version of Griddo Core",
4
4
  "license": "UNLICENSED",
5
- "version": "12.4.0",
5
+ "version": "12.5.0",
6
6
  "authors": [
7
7
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
8
8
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -119,5 +119,5 @@
119
119
  "publishConfig": {
120
120
  "access": "public"
121
121
  },
122
- "gitHead": "e78fd612e55753bf9a04aa1e4020b582be9026af"
122
+ "gitHead": "02d4a5b3c3d3f4a4339db6746b6d6572139e51e5"
123
123
  }