Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 898eb21

Browse files
fix(settings): Extend ALLOW_TOKEN_PARSERS if custom one is provided (#654)
1 parent 9ef7a2a commit 898eb21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

djangocms_text_ckeditor/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@
3838

3939
ALLOW_TOKEN_PARSERS = (
4040
'djangocms_text_ckeditor.attribute_parsers.DataAttributeParser',
41+
*getattr(settings, 'ALLOW_TOKEN_PARSERS', []),
4142
)
4243
TEXT_INLINE_EDITING = getattr(settings, 'TEXT_INLINE_EDITING', False)

0 commit comments

Comments
 (0)