【发布时间】:2020-04-17 05:19:51
【问题描述】:
我希望能够在 sitefinity 内容块的剑道工具栏中添加“按钮”样式选项。
我正在运行 v 12.2 MVC。
我创建了项目,在资源包下创建了我的资源包,克隆了 sf-html-field.sf-cshtml 并放置在 ResourcePackages/mycustompackage/client-components/fields/html-field/ 中,作为测试我删除了粗体选项。注意:我使用的模板是基于我在 MVC/Views/Layouts 中的资源包下的一个模板。 - 它没有更改内容块中的工具栏。我还在 Bootstrap4 文件夹下更改了它,此外我在根目录中创建了 /client-components/fields/html-field/ 并在那里添加了 sf-html-field.sf-cshtml ,但仍然没有让 Bold 消失的运气。我也尝试过包含前端羽毛 git 存储库中存在的 js 文件。
我还在 AdminApp 下找到了一个 config.json 文件,其中包含工具栏的值并删除了粗体,但它仍然没有从工具栏中消失。
我也尝试在 ResourcePackages/mycustompackage/MVC/Views/ContentBlock 下创建 ContentBlock,优先包含 Designerview.contentblock.json,但仍然没有运气。
我已尝试重建项目,重新启动应用程序。任何帮助将非常感激。我查找文档的链接包括
https://github.com/Sitefinity/mvc-samples/tree/master/CustomStylesContentBlock https://github.com/Sitefinity/mvc-samples/tree/master/SimpleContentBlock https://www.progress.com/documentation/sitefinity-cms/extend-the-html-field-of-the-rich-text-editor https://github.com/Sitefinity/feather-widgets/issues/1240 https://knowledgebase.progress.com/articles/Article/mvc-link-selector-anchor-for-internal-pages
【问题讨论】:
标签: model-view-controller kendo-ui kendo-asp.net-mvc sitefinity