在Django设置中配置ckeditor链接

2024-10-03 02:41:34 发布

您现在位置:Python中文网/ 问答频道 /正文

ckeditor中链路协议的默认值为“http://”。这里还有“https://”、“ftp://”等。我需要将默认值从“http://”更改为“https://”。试图使用下一个配置

CKEDITOR_CONFIGS = {
    'default': {
         ...
        'linkDefaultProtocol': 'https://'
    },
}

但它不起作用。我做错了什么


Tags: httpsckeditorhttpdefault协议ftp链路configs