Open benzkji opened 5 years ago
# a default, working with the provided contrib link_model
CKEDITOR_LINK_ATTR_MODIFIERS = getattr(
settings,
'CKEDITOR_LINK_ATTR_MODIFIERS', {
'cms_page': '{cms_page_2}'
}
)
modifiers could also be callables, right, couldn't they?!
use a config, for mapping multi widgets and other special cases.
for example the django-cms
PageField
: