/// <summary> /// 获取CkEditor配置 /// </summary> private CkEditorConfig GetCkEditorConfig() { var result = new CkEditorConfig { FileBrowserUploadUrl = _config.GetValueOrNull(UiConst.UploadUrl) }; return(result); }
/// <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); }