File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.SummerNote/Components/Editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77{
88 <BootstrapLabel required =" @Required" for =" @Id" ShowLabelTooltip =" ShowLabelTooltip" Value =" @DisplayText" />
99}
10- <div @attributes =" @AdditionalAttributes" id =" @Id" class =" editor " data-bb-submit =" @ShowSubmitString" >
10+ <div @attributes =" @AdditionalAttributes" id =" @Id" class =" @ClassString " data-bb-submit =" @ShowSubmitString" >
1111 <div class =" @EditClassString" placeholder =" @PlaceHolder" ></div >
1212</div >
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ namespace BootstrapBlazor.Components;
1313/// </summary>
1414public partial class Editor
1515{
16+ private string ? ClassString => CssBuilder . Default ( "editor" )
17+ . AddClass ( CssClass ) . AddClass ( ValidCss )
18+ . Build ( ) ;
19+
1620 /// <summary>
1721 /// 获得 Editor 样式
1822 /// </summary>
You can’t perform that action at this time.
0 commit comments