Exemplo n.º 1
0
        /// <summary>
        /// 获取CkEditor配置
        /// </summary>
        private CkEditorConfig GetCkEditorConfig()
        {
            var result = new CkEditorConfig {
                FileBrowserUploadUrl = _config.GetValueOrNull(UiConst.UploadUrl)
            };

            return(result);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 获取CkEditor配置
        /// </summary>
        private CkEditorConfig GetCkEditorConfig()
        {
            var result = new CkEditorConfig {
                FileBrowserUploadUrl = _config.GetValueOrNull(UiConst.UploadUrl),
                Height         = _config.GetValueOrNull(UiConst.Height),
                AllowedContent = _config.GetValue(UiConst.DisableFilter).ToBoolOrNull()
            };

            return(result);
        }