Could it be inlineMode toolbar to be static width? default is extended.

Hi

Could it be inlineMode toolbar to be static width? default is extended.


i dont want shrink



I want it with a fixed width


3 Replies 1 reply marked as answer

RK Revanth Krishnan Syncfusion Team June 10, 2021 10:41 AM UTC

Hi Omar, 
 
 
Greetings from Syncfusion support. 
 
 
We have validated your query “Can the ‘inlineMode’ toolbar set with a static width? default is extended.” 
 
In Rich Text Editor the inline toolbar width cannot be set manually, but youy requirement can be achieved by adding the separator in the toolbar items, the separator will make the items appear in the next line. We have prepared a sample for your reference, 
 
Code Snippet: 
export class AppComponent { 
  . . . 
  public toolbarSettings: ToolbarModule = { 
    items: [ 
      'Bold', 
      'Italic', 
      'FontName', 
      '-', 
      'FontSize', 
      'Alignments', 
      'FontColor', 
      '-', 
      'BackgroundColor', 
      'ClearFormat', 
      'CreateLink' 
    ] 
  }; 
  . . . 
} 
 
 
Please check the above code snippet and the sample and let us know if it resolves the issue. 
 
Regards, 
Revanth 


Marked as answer

OM omar June 11, 2021 09:43 PM UTC

Yes It Work... Thank You


RK Revanth Krishnan Syncfusion Team June 14, 2021 07:58 AM UTC

Hi Omar, 
 
Thanks for the update. 
 
We are glad that the provided solution satisfied your requirement. Please let us know if you need any further assistance. 
 
Regards, 
Revanth 


Loader.
Up arrow icon