If you add a contour form using (Insert form from Umbraco Contour(Razor)) and it is sitting at the top of the page in a rich text placeholder example below.
You cannot enter text above it? It will enter the text in the macro box area then remove it when it is saved.
If you attempt to remove the form and save you get the following error
[ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length] System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +9385135 umbraco.editorControls.tinyMCE3.TinyMCE.replaceMacroTags(String text) +81 umbraco.editorControls.tinyMCE3.TinyMCE.Save() +64 umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +210 System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115 System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120 System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
Cannot place text above inserted form
Umbraco 6.0.0 MVC mode Contour 3.0.6
If you add a contour form using (Insert form from Umbraco Contour(Razor)) and it is sitting at the top of the page in a rich text placeholder example below.
You cannot enter text above it? It will enter the text in the macro box area then remove it when it is saved.
If you attempt to remove the form and save you get the following error
[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +9385135
umbraco.editorControls.tinyMCE3.TinyMCE.replaceMacroTags(String text) +81
umbraco.editorControls.tinyMCE3.TinyMCE.Save() +64
umbraco.controls.ContentControl.saveClick(Object Sender, ImageClickEventArgs e) +210
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +115
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +120
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
+10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+5563
Comment author was deleted
Could you hit the html button on the rte and then clear everything
Then enter your text and afterwards place the form
That should do the trick :)
Sorted - thanks for the help.
is working on a reply...