Is there a way to wrap all lines in a WYSIWYG editor in a span? I have a WYSIWYG editor in a custom field using the classic editor on an option page and I’m looking for a way to wrap each line in a span when saving.
Isn’t each line in the WYSIWYG already wrapped in a <p> tag? Could you accomplish what you’re trying to do by targeting/styling the <p> tags instead of wrapping them in a <span>? What is your reason for wrapping in a <span>?