Copied to clipboard

Flag this post as spam?

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


  • Pasang Tamang 258 posts 458 karma points
    Mar 17, 2020 @ 15:24
    Pasang Tamang
    0

    Get media Id in custom property while opening edit window in content node

    Hello all,

    I have a custom developed property editor for media nodes. That is handling some data from API based for browsed media node. In media section that is working properly but recently problem found while opening it from content node with edit button in media picker. Problem is because I have used $routeParams.id to get media Id. And when opening edit window in content section it make sense that it won't work as the code will give me id of browsed content node. So anyone please suggest me what is the proper way to get media id in AngularJs while editing from content section?

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft