I have a helper called EditableArea which provides a user with a runtime-editable div (via JS). EditableArea helper checks if an editable area (not
Taking this further, it is possible to pass the markup directly to a helper, without an extension method.
@helper HelperWithChild(Func
For multi-line markup is required as well:
@HelperWithChild(@
@AnotherHelper()
With more markup
)
@helper AnotherHelper()
{
Another helper
}
Though I'm not sure how this will play out with Model - my helpers only use their parameters.