Copied to clipboard

Flag this post as spam?

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

  • Thelmes Fobus 5 posts 75 karma points
    Sep 23, 2018 @ 19:49
    Thelmes Fobus

    How to access current editorState in my plugin


    I'm trying to develop a plugin that works with nuPicker.

    My aim is accessing the current picked items and for-each picked item I want to enter a custom description.

    By using editorState.getCurrent() I can access the tabs and picked items.

    So, I can access editorState as a service in my Angular controller. But when I change the picked items, editorState.getCurrent() still gives me the old state.

    Here is my controller code

    angular.module("umbraco").controller("My.ExtendedFiltersController", function ($scope,$rootScope, editorState) {
       $scope.editorState = editorState;
       // this is a simple function that I want to get the state inside.
       $scope.onChange = function () {

    So, can any body help me please how can I get the selected items in nuPicker, I'm checking umbracotv videos but there is no useful information about my problem.


  • Thelmes Fobus 5 posts 75 karma points
    Sep 25, 2018 @ 08:19
    Thelmes Fobus

    Are you leaving me alone?

Please Sign in or register to post replies

Write your reply to: