@payloadcms/richtext-lexical
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -12,4 +12,9 @@ import type { Block } from 'payload/types'; | ||
}; | ||
/** | ||
* The actual content of the Block. This should be INSIDE a Form component, | ||
* scoped to the block. All format operations in here are thus scoped to the block's form, and | ||
* not the whole document. | ||
*/ | ||
export declare const BlockContent: React.FC<Props>; | ||
export {}; | ||
//# sourceMappingURL=BlockContent.d.ts.map |
@@ -189,2 +189,2 @@ "use strict"; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9maWVsZC9mZWF0dXJlcy9CbG9ja3MvY29tcG9uZW50L0Jsb2NrQ29udGVudC50c3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBCbG9jaywgRGF0YSwgRmllbGRzIH0gZnJvbSAncGF5bG9hZC90eXBlcydcblxuaW1wb3J0IHsgdXNlTGV4aWNhbENvbXBvc2VyQ29udGV4dCB9IGZyb20gJ0BsZXhpY2FsL3JlYWN0L0xleGljYWxDb21wb3NlckNvbnRleHQnXG5pbXBvcnQgeyAkZ2V0Tm9kZUJ5S2V5IH0gZnJvbSAnbGV4aWNhbCdcbmltcG9ydCB7IEJ1dHRvbiwgRXJyb3JQaWxsLCBQaWxsIH0gZnJvbSAncGF5bG9hZC9jb21wb25lbnRzJ1xuaW1wb3J0IHsgQ29sbGFwc2libGUgfSBmcm9tICdwYXlsb2FkL2NvbXBvbmVudHMvZWxlbWVudHMnXG5pbXBvcnQgeyBTZWN0aW9uVGl0bGUgfSBmcm9tICdwYXlsb2FkL2NvbXBvbmVudHMvZmllbGRzL0Jsb2NrcydcbmltcG9ydCB7IFJlbmRlckZpZWxkcywgY3JlYXRlTmVzdGVkRmllbGRQYXRoLCB1c2VGb3JtU3VibWl0dGVkIH0gZnJvbSAncGF5bG9hZC9jb21wb25lbnRzL2Zvcm1zJ1xuaW1wb3J0IHsgdXN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aWVsZEhhc0Vycm9ycyAmJiA8RXJyb3JQaWxsIGNvdW50PXtlcnJvckNvdW50fSB3aXRoTWVzc2FnZSAvPn1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAge2VkaXRvci5pc0VkaXRhYmxlKCkgJiYgKFxuICAgICAgICAgICAgICA8QnV0dG9uXG4gICAgICAgICAgICAgICAgYnV0dG9uU3R5bGU9XCJpY29uLWxhYmVsXCJcbiAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2Ake2Jhc2VDbGFzc31fX3JlbW92ZUJ1dHRvbmB9XG4gICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2ZpZWxkPy5hZG1pbj8ucmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgaWNvbj1cInhcIlxuICAgICAgICAgICAgICAgIG9uQ2xpY2s9eyhlKSA9PiB7XG4gICAgICAgICAgICAgICAgICBlLnByZXZlbnREZWZhdWx0KClcbiAgICAgICAgICAgICAgICAgIHJlbW92ZUJsb2NrKClcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgIHJvdW5kXG4gICAgICAgICAgICAgICAgdG9vbHRpcD1cIlJlbW92ZSBCbG9ja1wiXG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICApfVxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgICAgIGtleT17MH1cbiAgICAgICAgb25Ub2dnbGU9eyhjb2xsYXBzZWQpID0+IHtcbiAgICAgICAgICBzZXRDb2xsYXBzZWQoY29sbGFwc2VkKVxuICAgICAgICAgIG9uQ29sbGFwc2VkQ2hhbmdlKClcbiAgICAgICAgfX1cbiAgICAgID5cbiAgICAgICAgPFJlbmRlckZpZWxkc1xuICAgICAgICAgIGNsYXNzTmFtZT17YCR7YmFzZUNsYXNzfV9fZmllbGRzYH1cbiAgICAgICAgICBmaWVsZFNjaGVtYT17YmxvY2suZmllbGRzLm1hcCgoZmllbGQpID0+ICh7XG4gICAgICAgICAgICAuLi5ma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ICAgICAgICAgICAgY2xhc3NOYW1lPXtgJHtiYXNlQ2xhc3N9X19ibG9jay1waWxsICR7YmFzZUNsYXNzfV9fYmxvY2stcGlsbC0ke2ZpZWxkcz8uZGF0YT8uYmxvY2tUeXBlfWB9XG4gICAgICAgICAgICAgICAgcGlsbFN0eWxlPVwid2hpdGVcIlxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge2dldFRyYW5zbGF0aW9uKGJsb2NrLmxhYmVscy5zaW5ndWxhciwgaTE4bil9XG4gICAgICAgICAgICAgIDwvUGlsbD5cbiAgICAgICAgICAgICAgPFNlY3Rpb25UaXRsZSBwYXRoPXtgJHtwYXRofWJsb2NrTmFtZWB9IHJlYWRPbmx5PXtmaWVsZD8uYWRtaW4/LnJlYWRPbmx5fSAvPlxuICAgICAgICAgICAgICB7ZmllbGRIYXNFcnJvcnMgJiYgPEVycm9yUGlsbCBjb3VudD17ZXJyb3JDb3VudH0gd2l0aE1lc3NhZ2UgLz59XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIHtlZGl0b3IuaXNFZGl0YWJsZSgpICYmIChcbiAgICAgICAgICAgICAgPEJ1dHRvblxuICAgICAgICAgICAgICAgIGJ1dHRvblN0eWxlPVwiaWNvbi1sYWJlbFwiXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtgJHtiYXNlQ2xhc3N9X19yZW1vdmVCdXR0b25gfVxuICAgICAgICAgICAgICAgIGRpc2FibGVkPXtmaWVsZD8uYWRtaW4/LnJlYWRPbmx5fVxuICAgICAgICAgICAgICAgIGljb249XCJ4XCJcbiAgICAgICAgICAgICAgICBvbkNsaWNrPXsoZSkgPT4ge1xuICAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpXG4gICAgICAgICAgICAgICAgICByZW1vdmVCbG9jaygpXG4gICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICByb3VuZFxuICAgICAgICAgICAgICAgIHRvb2x0aXA9XCJS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0Q7WUFDeEJTLE1BQUs7WUFDTEMsU0FBUyxDQUFDQztnQkFDUkEsRUFBRUMsY0FBYztnQkFDaEIzQjtZQUNGO1lBQ0E0QixPQUFBQTtZQUNBQyxTQUFROztRQUtoQkMsS0FBSztRQUNMQyxVQUFVLENBQUN0RTtZQUNUQyxhQUFhRDtZQUNib0M7UUFDRjtxQkFFQSw2QkFBQ21DLG1CQUFZO1FBQ1g1QixXQUFXLENBQUMsRUFBRXZELFVBQVUsUUFBUSxDQUFDO1FBQ2pDb0YsYUFBYW5GLE1BQU1FLE1BQU0sQ0FBQ2tGLEdBQUcsQ0FBQyxDQUFDbkYsUUFBVyxDQUFBO2dCQUN4QyxHQUFHQSxLQUFLO2dCQUNSZ0MsTUFBTW9ELElBQUFBLDRCQUFxQixFQUFDLE1BQU1wRjtZQUNwQyxDQUFBO1FBQ0FxRixZQUFZckYsTUFBTXFGLFVBQVU7UUFDNUJDLFNBQVE7UUFDUkMsYUFBYXZGLE1BQU11RixXQUFXLEVBQUVDLFFBQVEsQ0FBQ3ZGLFFBQVFtQixNQUFNc0MsVUFBVSxFQUFFekQ7UUFDbkUrRCxVQUFVaEUsTUFBTWlFLEtBQUssQ0FBQ0QsUUFBUTt1QkFJbEMsNkJBQUN5Qiw4QkFBYztRQUNiUCxhQUFhbkYsTUFBTUUsTUFBTSxDQUFDa0YsR0FBRyxDQUFDLENBQUNuRixRQUFXLENBQUE7Z0JBQ3hDLEdBQUdBLEtBQUs7Z0JBQ1JnQyxNQUFNb0QsSUFBQUEsNEJBQXFCLEVBQUMsTUFBTXBGO1lBQ3BDLENBQUE7UUFDQTBGLFVBQVV6RDs7QUFJbEIifQ== |
@@ -15,2 +15,3 @@ "use strict"; | ||
const _config = require("payload/config"); | ||
const _reacti18next = require("react-i18next"); | ||
const _EditorConfigProvider = require("../../../lexical/config/EditorConfigProvider"); | ||
@@ -72,8 +73,46 @@ const _BlockContent = require("./BlockContent"); | ||
}); | ||
const initialDataRef = _react.default.useRef((0, _forms.buildInitialState)(fields.data || {})) // Store initial value in a ref, so it doesn't change on re-render and only gets initialized once | ||
const initialStateRef = _react.default.useRef((0, _forms.buildInitialState)(fields.data || {})) // Store initial value in a ref, so it doesn't change on re-render and only gets initialized once | ||
; | ||
const config = (0, _utilities.useConfig)(); | ||
const { t } = (0, _reacti18next.useTranslation)('general'); | ||
const { code: locale } = (0, _utilities.useLocale)(); | ||
const { getDocPreferences } = (0, _utilities.useDocumentInfo)(); | ||
// initialState State | ||
const [initialState, setInitialState] = _react.default.useState(null); | ||
(0, _react.useEffect)(()=>{ | ||
async function buildInitialState() { | ||
const preferences = await getDocPreferences(); | ||
const stateFromSchema = await (0, _utilities.buildStateFromSchema)({ | ||
config, | ||
data: fields.data, | ||
fieldSchema: block.fields, | ||
locale, | ||
operation: 'update', | ||
preferences, | ||
t | ||
}); | ||
// We have to merge the output of buildInitialState (above this useEffect) with the output of buildStateFromSchema. | ||
// That's because the output of buildInitialState provides important properties necessary for THIS block, | ||
// like blockName, blockType and id, while buildStateFromSchema provides the correct output of this block's data, | ||
// e.g. if this block has a sub-block (like the `rows` property) | ||
setInitialState({ | ||
...initialStateRef?.current, | ||
...stateFromSchema | ||
}); | ||
} | ||
void buildInitialState(); | ||
}, [ | ||
setInitialState, | ||
config, | ||
block, | ||
locale, | ||
getDocPreferences, | ||
t | ||
]) // do not add fields here, it causes an endless loop | ||
; | ||
// Memoized Form JSX | ||
const formContent = (0, _react.useMemo)(()=>{ | ||
return block && /*#__PURE__*/ _react.default.createElement(_forms.Form, { | ||
initialState: initialDataRef?.current, | ||
return block && initialState && /*#__PURE__*/ _react.default.createElement(_forms.Form, { | ||
fields: block.fields, | ||
initialState: initialState, | ||
submitted: submitted | ||
@@ -91,3 +130,4 @@ }, /*#__PURE__*/ _react.default.createElement(_BlockContent.BlockContent, { | ||
nodeKey, | ||
submitted | ||
submitted, | ||
initialState | ||
]); | ||
@@ -99,2 +139,2 @@ return /*#__PURE__*/ _react.default.createElement("div", { | ||
//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0JBQ3pCK0I7Z0JBQ0FZLFdBQVc7Z0JBQ1hKO2dCQUNBWDtZQUNGO1lBRUEsbUhBQW1IO1lBQ25ILHlHQUF5RztZQUN6RyxpSEFBaUg7WUFDakgsZ0VBQWdFO1lBQ2hFUSxnQkFBZ0I7Z0JBQ2QsR0FBR1osaUJBQWlCb0IsT0FBTztnQkFDM0IsR0FBR0osZUFBZTtZQUNwQjtRQUNGO1FBQ0EsS0FBS2I7SUFDUCxHQUFHO1FBQUNTO1FBQWlCYjtRQUFRYjtRQUFPcUI7UUFBUUU7UUFBbUJMO0tBQUUsRUFBRSxvREFBb0Q7O0lBRXZILG9CQUFvQjtJQUNwQixNQUFNaUIsY0FBY0MsSUFBQUEsY0FBTyxFQUFDO1FBQzFCLE9BQ0VwQyxTQUNBeUIsOEJBQ0UsNkJBQUNZLFdBQUk7WUFBQy9DLFFBQVFVLE1BQU1WLE1BQU07WUFBRW1DLGNBQWNBO1lBQWM5QixXQUFXQTt5QkFDakUsNkJBQUMyQywwQkFBWTtZQUNYcEQsV0FBV0E7WUFDWGMsT0FBT0E7WUFDUEYsT0FBT0E7WUFDUFIsUUFBUUE7WUFDUkUsU0FBU0E7O0lBS25CLEdBQUc7UUFBQ1E7UUFBT0Y7UUFBT047UUFBU0c7UUFBVzhCO0tBQWE7SUFFbkQscUJBQU8sNkJBQUNjO1FBQUlsRCxXQUFXSDtPQUFZaUQ7QUFDckMifQ== |
{ | ||
"name": "@payloadcms/richtext-lexical", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "The officially supported Lexical richtext adapter for Payload", | ||
@@ -46,4 +46,4 @@ "repository": "https://github.com/payloadcms/payload", | ||
"@types/react": "18.2.15", | ||
"@payloadcms/eslint-config": "0.0.1", | ||
"payload": "2.0.5" | ||
"payload": "2.0.5", | ||
"@payloadcms/eslint-config": "0.0.1" | ||
}, | ||
@@ -50,0 +50,0 @@ "exports": null, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1429164
13438