File tree Expand file tree Collapse file tree
js/src/pages/admin/Docs/Edit/tabs/Description Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ const DescriptionComponent = () => {
9191 formItemProps = { {
9292 name : [ 'status' ] ,
9393 label : '發佈' ,
94- initialValue : 'publish' ,
9594 getValueProps : ( value ) => ( { value : value === 'publish' } ) ,
9695 normalize : ( value ) => ( value ? 'publish' : 'draft' ) ,
9796 hidden : true ,
@@ -131,17 +130,20 @@ const DescriptionComponent = () => {
131130 </ div >
132131 < div className = "grid grid-cols-1 xl:grid-cols-3 gap-6" >
133132 < div >
134- < label htmlFor = "short_description" className = "pb-2 tw-block" > 知識庫簡介</ label >
135- < BlockNoteDrawer buttonProps = { {
136- className : 'w-fit'
137- } } />
133+ < label htmlFor = "short_description" className = "pb-2 tw-block" >
134+ 知識庫簡介
135+ </ label >
136+ < BlockNoteDrawer
137+ buttonProps = { {
138+ className : 'w-fit' ,
139+ } }
140+ />
138141 </ div >
139142
140143 < div className = "xl:col-span-2" >
141144 < Item
142145 name = { [ 'editor' ] }
143146 label = "模板"
144- initialValue = { '' }
145147 help = {
146148 watchEditor === 'elementor'
147149 ? '請先儲存之後就可以使用 Elementor 編輯'
You can’t perform that action at this time.
0 commit comments