Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phil Dye 149 posts 325 karma points
    Aug 16, 2013 @ 18:49
    Phil Dye
    0

    Richtext Editor Stylesheet node ID

    Looks like there's a similar PreValue problem for the id for a RTE stylesheet; for example, the config file for a datatype we've created looks like this;

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

    <DataType Name="My Richtext Editor" Id="5e9b75ae-face-41c8-b47e-5f4b0fd82f83" Definition="8b839107-eb2a-42e2-92fc-34fa84493a3e">
      <PreValues>
        <PreValue Id="130" Value=",code,removeformat,undo,redo,cut,copy,mcepasteword,stylepicker,bold,italic,bullist,numlist,mcelink,unlink,mceimage,umbracomacro,umbracoembed,mcespellcheck,|0||0|600,400|1732,|True|600|" />
      </PreValues>
    </DataType>

    Note the "1732" parameter, which is the local node id of the associated stylesheet - but that's different on the target server, so I get errors logged in the UmbracoTraceLog;

    2013-08-16 15:55:07,343 [58] ERROR umbraco.editorControls.tinyMCE3.TinyMCE - [Thread 38] Error adding stylesheet to tinymce Id:1732 System.NullReferenceException: Object reference not set to an instance of an object.   at umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration)

     

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Aug 16, 2013 @ 20:02
    Kevin Jump
    0

    Yes, i am looking at that at the moment

    I'm probably going to port soft of the stuff i've done for the Content Version that does map these id's back over to uSync so it can workout IDs between versions.

  • Dipun 4 posts 25 karma points
    Apr 25, 2014 @ 14:52
    Dipun
    0

    Hey Kevin,

    Thanks for uSync, it is a really cool product and it allows us to do some really cool automations. I was wondering whether you got around to providing a workaround for this RTE prevalue issue?

    We are currently facing this as an issue and I'm not sure how to handle this. We could remove the RTE definition from our source control and have it as the ONLY data type that we have to manually service during deployments to each environment. But it would be really cool if you had a fix for this.

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft