Open RamohanReddy opened 6 years ago
@ramohanreddy you can use below Demo code let toolbar = RichEditorToolbar(frame: CGRect(x: 0, y: 0, width: self.view.bounds.width, height: 44)) toolbar.options = [RichEditorDefaultOption.clear, RichEditorDefaultOption.italic, RichEditorDefaultOption.subscript, RichEditorDefaultOption.superscript, RichEditorDefaultOption.strike, RichEditorDefaultOption.underline, RichEditorDefaultOption.alignLeft, RichEditorDefaultOption.alignCenter, RichEditorDefaultOption.alignRight, RichEditorDefaultOption.textColor, RichEditorDefaultOption.textBackgroundColor, RichEditorDefaultOption.unorderedList, RichEditorDefaultOption.orderedList] return toolbar
Hi How to give only 3 options on toolbar.