How to override field_type view?
oimken - 2 months ago
Is there a way to override the field_type view file without publish and modified it? I want to add some custom button to markdown-field_type, but I can not override the input.twig in my custom theme (front-end) I have add the overrides line in ServiceProvider of my theme:
protected $overrides = [ 'anomaly.field_type.markdown::input' => 'oimken.theme.simple::markdown/input', ];
but nothing happens, maybe field_type priority level is higher ? or I do something wrong? Publish and replace the field_type works, but I really don't like this way.
Anyone know about this? Please help..... Lots of thanks.