tiptap-essentials 1.1.1 → 1.2.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.
@@ -152,6 +152,9 @@ var TiptapEssentials = _core.Extension.create({
152
152
  return _objectSpread(_objectSpread({}, this.parent()), {}, {
153
153
  title: {
154
154
  "default": null
155
+ },
156
+ "class": {
157
+ "default": 'tiptap-link'
155
158
  }
156
159
  });
157
160
  }
@@ -208,8 +211,7 @@ var TiptapEssentials = _core.Extension.create({
208
211
  if (this.options.textAlign !== false) {
209
212
  extensions.push(_extensionTextAlign["default"].configure({
210
213
  types: ['heading', 'paragraph'],
211
- alignments: ['start', 'end', 'left', 'center', 'right', 'justify'],
212
- defaultAlignment: 'start'
214
+ alignments: ['start', 'end', 'left', 'center', 'right', 'justify']
213
215
  }));
214
216
  }
215
217
  if (this.options.underline !== false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiptap-essentials",
3
- "version": "1.1.1",
3
+ "version": "1.2.1",
4
4
  "description": "Essential extensions of Tiptap",
5
5
  "main": "index.js",
6
6
  "scripts": {