Skip to content

extended_valid_elements #64

@rbijkercom

Description

@rbijkercom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions