The editor removes empty span element. I want to prevent this.
Is it possible to set extended_valid_elements?
At the moment I add this option:
NovaTinyMCE::make('Body')->options(['valid_elements' => '+*[*]']),
which works.
But I think setting
extended_valid_elements => 'span[*]'
would be more precise.
The editor removes empty span element. I want to prevent this. Is it possible to set extended_valid_elements? At the moment I add this option:
NovaTinyMCE::make('Body')->options(['valid_elements' => '+*[*]']),
which works.But I think setting
extended_valid_elements => 'span[*]'
would be more precise.