Update 97 broke TinyMCE backing types

Vote:
 

Hi,

We just performed the update to 97 and noticed that the TinyMCE backing types no longer work.

We have multiple XhtmlString backing types for our project.

One for Titles (only allows H1 - H6 and B elements), one for Text (only allows for br) and one that has everything else.

Here is an example of a property using the backing type.

        [CultureSpecific]
        [Display(
            GroupName = SystemTabNames.Content,
            Order = 20)]
        [BackingType(typeof(PropertyXhtmlStringTextOnly))]
        [PropertySettings(typeof(TextOnlyTinyMCESettings))]
        public virtual XhtmlString Text { get; set; }

Here is the CutomProperty

    /// 
    /// Property type to customize TinyMCE to limit element types
    /// 
    /// Property type to customize TinyMCE to limit element types to BRs'
    [PropertyDefinitionTypePlugIn]
    [TinyMCEPluginNonVisual(
        AlwaysEnabled = true,
        PlugInName = "NonVisualPlugin",
        DisplayName = "Custom editor init options for text only",
        Description = "Loads custom editor init options for text only.",
        EditorInitConfigurationOptions = @"{
            valid_elements : ""br,-p"",
            theme_advanced_resizing : false,
            forced_root_block: false,
            force_br_newlines: true }"
    )]
    public class PropertyXhtmlStringTextOnly : PropertyXhtmlString
    {

    }

Is anyone else having similar issues?  Anyone know of a work around?

Thanks in advance for the help,

Tom

#143771
Jan 30, 2016 1:00
Vote:
 

Hi Tom,

We received your ticket in Developer Support. We'll take a look and see if we could reproduce the problem. Thank you.

#143889
Feb 02, 2016 21:15
Vote:
 

I pointed my code to a clean DB instance and the TinyMCE settings and backing types started working again.  I don't know why this worked but it did.

#143954
Feb 03, 2016 21:17
Vote:
 

Very interesting, but good to hear that the backing types are working again. I've noted to my colleague that you were able to resolve in the related ticket.

#143955
Edited, Feb 03, 2016 21:18
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.