@dotcms/client
Advanced tools
Comparing version 0.0.1-alpha.13 to 0.0.1-alpha.14
{ | ||
"name": "@dotcms/client", | ||
"version": "0.0.1-alpha.13", | ||
"version": "0.0.1-alpha.14", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Official JavaScript library for interacting with DotCMS REST APIs.", |
@@ -87,2 +87,3 @@ import { CUSTOMER_ACTIONS, postMessageToEditor } from '../models/client.model'; | ||
widgetTitle: 'TEMP_EMPTY_CONTENTLET', | ||
baseType: 'TEMP_EMPTY_CONTENTLET', | ||
onNumberOfPages: 1 | ||
@@ -95,2 +96,3 @@ }; | ||
contentType: foundElement.dataset?.['dotType'], | ||
baseType: foundElement.dataset?.['dotBasetype'], | ||
widgetTitle: foundElement.dataset?.['dotWidgetTitle'], | ||
@@ -97,0 +99,0 @@ onNumberOfPages: foundElement.dataset?.['dotOnNumberOfPages'] |
@@ -29,2 +29,15 @@ /** | ||
/** | ||
* Tell the editor to init the inline editing editor. | ||
*/ | ||
INIT_INLINE_EDITING = "init-inline-editing", | ||
/** | ||
* Tell the editor to open the Copy-contentlet dialog | ||
* To copy a content and then edit it inline. | ||
*/ | ||
COPY_CONTENTLET_INLINE_EDITING = "copy-contentlet-inline-editing", | ||
/** | ||
* Tell the editor to save inline edited contentlet | ||
*/ | ||
UPDATE_CONTENTLET_INLINE_EDITING = "update-contentlet-inline-editing", | ||
/** | ||
* Tell the editor to trigger a menu reorder | ||
@@ -31,0 +44,0 @@ */ |
@@ -30,2 +30,15 @@ /** | ||
/** | ||
* Tell the editor to init the inline editing editor. | ||
*/ | ||
CUSTOMER_ACTIONS["INIT_INLINE_EDITING"] = "init-inline-editing"; | ||
/** | ||
* Tell the editor to open the Copy-contentlet dialog | ||
* To copy a content and then edit it inline. | ||
*/ | ||
CUSTOMER_ACTIONS["COPY_CONTENTLET_INLINE_EDITING"] = "copy-contentlet-inline-editing"; | ||
/** | ||
* Tell the editor to save inline edited contentlet | ||
*/ | ||
CUSTOMER_ACTIONS["UPDATE_CONTENTLET_INLINE_EDITING"] = "update-contentlet-inline-editing"; | ||
/** | ||
* Tell the editor to trigger a menu reorder | ||
@@ -32,0 +45,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55715
1077