You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property "disallowedContent" does not exist and locally, to properties "bodyClass" and "width" were set to None instead an empty string.
Suggested changes:
# if coming from collective.ckeditor < 4.10.0, disallowedContent does not exist
if hasattr(props, "disallowedContent"):
api.portal.set_registry_record(
"collective.ckeditor.browser.ckeditorsettings.ICKEditorSchema.disallowedContent",
safe_unicode(props.disallowedContent)
)
# do not fail if bodyClass is None
api.portal.set_registry_record(
"collective.ckeditor.browser.ckeditorsettings.ICKEditorSchema.bodyClass",
props.bodyClass or ''
)
# do not fail if width is None
api.portal.set_registry_record(
"collective.ckeditor.browser.ckeditorsettings.ICKEditorSchema.width",
props.width or ''
)
Thank you,
Gauthier
The text was updated successfully, but these errors were encountered:
Hi @gotcha
Property "disallowedContent" does not exist and locally, to properties "bodyClass" and "width" were set to None instead an empty string.
Suggested changes:
Thank you,
Gauthier
The text was updated successfully, but these errors were encountered: