Copied to clipboard

Flag this post as spam?

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


  • Pete 9 posts 150 karma points
    Mar 07, 2024 @ 14:53
    Pete
    0

    Umbraco 13 Macro Parameters Rich Text Editor

    Is there a way to add a rich text editor as a Macro Parameter?

    I have tried to add the following package.manifest in the APP_Plugin folder

    {
        "propertyEditors": [
            {
                "alias": "RichTextMacro",
                "name": "RichTextMacroEditor",
                "isParameterEditor": true,
                "icon": "icon-book-alt-2",
                "editor": {
                    "view": "/umbraco/Views/propertyeditors/rte/rte.html",
                    "valueType": "TEXT"
                }
    
            }
        ]
    }
    

    This half works in that it creates the option to select it in the select editor window of the parameter

    enter image description here

    But when you add it to the page, it just appears as a property with no editor:

    enter image description here

  • Pete 9 posts 150 karma points
    Mar 07, 2024 @ 16:11
    Pete
    100

    In the end I have converted them to element type components and added them in the block grid instead of in the wysiwyg

Please Sign in or register to post replies

Write your reply to:

Draft