Open Raskovan opened 2 years ago
Adding type: "block" style should render the style control.
type: "block"
The style is ignored.
I'm trying to add ordered/unordered lists option to the inline toolbar.
Stumbled on this code: https://github.com/niuware/mui-rte/blob/aacd718237b542096cc30a91c4b4011701287443/src/components/Toolbar.tsx#L231-L234
Was wondering why all types except for inline returning null from the inline toolbar menu. Is there any specific reason and can we lift this limitation.
types
inline
null
Checklist
Description
Expected behavior
Adding
type: "block"
style should render the style control.Actual behavior
The style is ignored.
I'm trying to add ordered/unordered lists option to the inline toolbar.
Stumbled on this code: https://github.com/niuware/mui-rte/blob/aacd718237b542096cc30a91c4b4011701287443/src/components/Toolbar.tsx#L231-L234
Was wondering why all
types
except forinline
returningnull
from the inline toolbar menu. Is there any specific reason and can we lift this limitation.