#64 ✓hold
David Cox

"Commented out" attribute

Reported by David Cox | October 18th, 2010 @ 03:30 PM

Another common request: a way to "comment out" MW elements.

A simple implementation of this would be to add an "enabled" attribute (default value = true). Disabled elements would be ignored during parsing, possibly culled in the XSLT pre-processing transformation.

If we wanted to get fancy, we could have two "disabled" flavors, one that take the element out along with all of its children (if it has any), and another that ignores the element but keeps its children.

The editor would naturally gray-out disabled elements.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The core framework and supporting libraries for the MWorks Suite

People watching this ticket

Pages