File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/bundle/Resources/public Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ const VIEWPORT_TOP_OFFSET = 102;
119119 init ( container ) {
120120 const wrapper = this . getHTMLDocumentFragment ( container . closest ( '.ibexa-data-source' ) . querySelector ( 'textarea' ) . value ) ;
121121 const section = wrapper . childNodes [ 0 ] ;
122- const { toolbar, extraPlugins = [ ] } = window . ibexa . richText . CKEditor ;
122+ const { toolbar, extraPlugins = [ ] , extraConfig = { } } = window . ibexa . richText . CKEditor ;
123123 const locale = new Intl . Locale ( doc . querySelector ( 'meta[name="LanguageCode"]' ) . content ) ;
124124 const blockCustomStyles = Object . entries ( ibexa . richText . customStyles )
125125 . filter ( ( [ , customStyleConfig ] ) => ! customStyleConfig . inline )
@@ -209,6 +209,7 @@ const VIEWPORT_TOP_OFFSET = 102;
209209 language : {
210210 content : locale . language ,
211211 } ,
212+ ...extraConfig ,
212213 } ) . then ( ( editor ) => {
213214 this . editor = editor ;
214215 const initialData = this . getData ( ) ;
Original file line number Diff line number Diff line change 186186 min-height : calculateRem (20px );
187187 }
188188
189- [id ] {
189+ [id ]:not ( .ibexa-data-source__richtext ) {
190190 position : relative ;
191191
192192 & :before {
You can’t perform that action at this time.
0 commit comments