chore(richtext-*): roll-back richtext adapter change
This commit is contained in:
@@ -13,16 +13,14 @@ export function slateEditor(
|
||||
args: AdapterArguments,
|
||||
): RichTextAdapter<any[], AdapterArguments, AdapterArguments> {
|
||||
return {
|
||||
CellComponent: () =>
|
||||
withMergedProps({
|
||||
Component: RichTextCell,
|
||||
toMergeIntoProps: args,
|
||||
}),
|
||||
FieldComponent: () =>
|
||||
withMergedProps({
|
||||
Component: RichTextField,
|
||||
toMergeIntoProps: args,
|
||||
}),
|
||||
CellComponent: withMergedProps({
|
||||
Component: RichTextCell,
|
||||
toMergeIntoProps: args,
|
||||
}),
|
||||
FieldComponent: withMergedProps({
|
||||
Component: RichTextField,
|
||||
toMergeIntoProps: args,
|
||||
}),
|
||||
outputSchema: ({ isRequired }) => {
|
||||
return {
|
||||
items: {
|
||||
|
||||
Reference in New Issue
Block a user