Copied to clipboard

Flag this post as spam?

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


  • Kreck Design 2 posts 33 karma points
    Aug 30, 2013 @ 01:25
    Kreck Design
    0

    Widget Dropper package updated to work in 6.1+

    There was a single, extraneous "@" character on line 20 of the razor script which needs to be removed in order to work again under 6.0+. No other changes are necessary.

    Earlier versions of the razor parsing engine were more lenient on extraneous "@" signs, but later versions became more strcit about this, hence the update.

  • Sanjay Sen 33 posts 97 karma points
    Mar 11, 2015 @ 13:11
    Sanjay Sen
    0

    Hi Kreck,

    I am trying to use this package with version 7.2.0 but as soon as I insert html code snippet it just doesn't get saved. My code snippet which gets added to TinyMCE is as below:

    ======================START=============================

    <div class="umb-macro-holder [RAZOR]WidgetDropper mceNonEditable umb-macro-mce_0"><!-- <?UMBRACO_MACRO macroAlias="[RAZOR]WidgetDropper" Node="3689" /> --><ins>

    <div class="cms-widget">

    <div>

    <p>This is my test data for widget</p>

    </div>

    </div>

    </ins></div>

    ============================================ END ==================

    But as aoon as I click on publish and save all HTML gets stripped and it doesn't get saved. Only content left in TinyMCE is as below:

    ====================================START===============

    <?UMBRACO_MACRO macroAlias="[RAZOR]WidgetDropper" Node="3689" /> -->

    ==============================END=======================

    Can you please let me know how can I resolve this to get proper data saved?

     

    Thanks

    Sanjay

  • Matthias Bier 30 posts 90 karma points
    Jul 17, 2015 @ 13:34
    Matthias Bier
    0

    Hello Kreck,

    I have the same issue - also on Umbraco 7.2.

    Widget Content get's stripped out when clicking Save&Publish. I already checked if the ins-Tag is not allowed in tinyMCE, but my config allows all tags.

    Any idea?

    Thanks Regards

    Matthias

  • David McGawn 37 posts 150 karma points
    Aug 06, 2015 @ 14:19
    David McGawn
    0

    I have upgraded the package to work with 7.2.8 if you are interested Click hear to download

    In the package it also changes the widgets from being a textbox multiple to a Rich Text Editor

Please Sign in or register to post replies

Write your reply to:

Draft