michaelpapworth / tinymce-knockout-binding

A KnockoutJS custom binding that applies a TinyMCE Editor to the bound HTML element
MIT License
39 stars 19 forks source link

How to access other knockout properties in a handler #29

Open daelhoser opened 7 years ago

daelhoser commented 7 years ago

Hello,

I am working on uploading an image to my storage when a user selects ones. I'm getting the 'images_upload_handler' to get called. I believe this is where i would upload the image. However, I am trying to access other information that was binded and and is being used throughout the web page. I've tried self.propertyIwant(). I'm not sure is this is a knockout closure related issue or a tinymce issue as I'm new to both.

Any help provided will be greatly appreciated.

Thank you.