I am using TinyMCE v3 as RTE and have a problem using the insert link feature. When I pick the node from the content tree the RTE inserts {localLink:[nodeID]}, but when I render the page (as a partial) the link is not rendered in the view, e.g. www.mysite.com/%7BlocalLink:1054%7D. The contents are fetched by ID in a controller (using Umbraco.TypedContent()), added to a list and rendered one by one in the view using Html.Partial.
TinyMCE v3: Problem rendering nodeid links
Hi,
I am using TinyMCE v3 as RTE and have a problem using the insert link feature. When I pick the node from the content tree the RTE inserts {localLink:[nodeID]}, but when I render the page (as a partial) the link is not rendered in the view, e.g. www.mysite.com/%7BlocalLink:1054%7D. The contents are fetched by ID in a controller (using Umbraco.TypedContent()), added to a list and rendered one by one in the view using Html.Partial.
Thanks in advance! :-)
/Kim
Problem solved. It seems that getting the HTML using umbraco.field() doesn't render/replace links, but getting the html using the model ala:
Model.Content.GetPropertyValue<string>("widgetRTE");
works splendid!
is working on a reply...