News:FrontendEdit

Version: - string  

Summary

Deprecated.

Returns a DIV with an edit text when paragraph frontend edit is enabled.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("News:FrontendEdit")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("News:FrontendEdit"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("News:FrontendEdit"); }

Outputting the template tag

<!--@News:FrontendEdit-->

Check if string has a value

<!--@If Defined(@News:FrontendEdit)--> Let's output this tag here: <strong><!--@News:FrontendEdit--></strong> <!--@EndIf(@News:FrontendEdit)-->