Copied to clipboard

Flag this post as spam?

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


  • Andy Bonner 2 posts 72 karma points
    Nov 01, 2018 @ 19:20
    Andy Bonner
    0

    Using RTE within settings of a custom grid editor

    I'm trying to use an RTE for a setting within my custom grid editor however no toolbar shows.

    What am I doing wrong.

    Here's how I've configured the setting within the package.manifest, tried 2 different ways

    "testRTE": {
            "label": "Test RTE",
            "key": "testRTE",
            "description": "Test RTE",
            "view": "/umbraco/views/propertyeditors/rte/rte.html",
            "config": {
              "editor": {
                "toolbar": [ "code", "undo", "redo", "cut", "styleselect", "bold", "italic", "alignleft", "aligncenter", "alignright", "bullist", "numlist", "link", "umbmediapicker", "umbmacro", "table", "umbembeddialog" ],
                "stylesheets": [],
                "dimensions": {
                  "height": 400,
                  "width": 250
                }
              }
            }
          },
          "testRTE2": {
            "label": "Test RTE2",
            "key": "testRTE2",
            "description": "Test RTE2",
            "view": "/umbraco/views/propertyeditors/grid/editors/rte.html",
            "config": {
              "editor": {
                "toolbar": [ "code", "undo", "redo", "cut", "styleselect", "bold", "italic", "alignleft", "aligncenter", "alignright", "bullist", "numlist", "link", "umbmediapicker", "umbmacro", "table", "umbembeddialog" ],
                "stylesheets": [],
                "dimensions": {
                  "height": 400,
                  "width": 250
                }
              }
            }
          }
    

    However in the settings pane i don't see the toolbar for the RTE No toolbar showing in settings

Please Sign in or register to post replies

Write your reply to:

Draft