-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
Note: This idea pressupose a few things:
A) plugin must also knows which element are void (
, )
B) the syntax MUST NOT be used for non-void elements.
THE IDEA: Tags should be closed when the editor inserts the / character.
EXPLANATION OF THE IDAD:
Thus, the author can always type /, without thinking about whether the element is going to folloow syntax or syntax.
By contrast, today, for void elements, one must type />.
DRAWBACKS: Are there any drawbacks to this idea? Well, you need to make
it works even if one types <foo src="/
Reactions are currently unavailable