Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've installed syntax highlighter about the output of the macro is being generated after </html> tag although I place the macro inside <head> tag.Is there any solution or a workaround for this??
Yep. See new version uploaded today :-)
I've installed the new version. But the new version is also buggy.
I get the error below when I use the macro in a template.
[NullReferenceException: Object reference not set to an instance of an object.] ClientDependency.Core.Controls.ClientDependencyLoader.TryCreate(Control parent, Boolean& isNew) +40 EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl.Page_PreRender(Object sender, EventArgs e) +82 System.Web.UI.Control.OnPreRender(EventArgs e) +8864486 System.Web.UI.Control.PreRenderRecursiveInternal() +103 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Also installing the new version messes the TinyMCE configuration and the content pages at backend. It gives
[ArgumentException: Item has already been added. Key in dictionary: 'undo' Key being added: 'undo'] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +9360699 System.Collections.Hashtable.Add(Object key, Object value) +11 umbraco.editorControls.tinymce.tinyMCEConfiguration.init() +1141 umbraco.editorControls.tinymce.tinyMCEConfiguration.get_Plugins() +14 umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +1858
[ArgumentException: Incorrect TinyMCE configuration.Parameter name: Configuration] umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +5894 umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +100 umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +93 umbraco.controls.ContentControl.CreateChildControls() +610 System.Web.UI.Control.EnsureChildControls() +102 umbraco.controls.ContentControl.OnInit(EventArgs e) +32 System.Web.UI.Control.InitRecursive(Control namingContainer) +140 System.Web.UI.Control.AddedControl(Control control, Int32 index) +197 System.Web.UI.ControlCollection.Add(Control child) +79 umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1249 System.Web.UI.Control.InitRecursive(Control namingContainer) +140 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
I had to manually modify TinyMCE config file to revert my backend.For now I've completely uninstallaed the package. The package still needs stabilization.Thanks.
Did you uninstall the package before installing the new one?
(I know this is not in the documentation, so not your fault if you didn't do it)
Yes. I had uninstalled version 1.0.0 before I installed 1.0.1
The uninstall process should remove the related command entries in tinyMceConfig.config file otherwise all the content pages using the rich text editor raise an error. You can't use the content section of the backend site.After uninstalling the package, in my rich text editor data type, i still see the highlighter button. It hasn't been removed yet. That does not raise an error but that button should also be removed.
The uninstall script is supposed to remove the command.
This is definately a bug, will fix it as soon as possible.
** Umbraco hiccupped **
OK. Uninstall script has been fixed in v1.1.1.
Would you mind trying it out?
Ok. I've installed the latest version 1.1.1
For now it seems to be working fine. But I've not tried uninstalling yet.Thanks for your help.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted