Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

HELP! Need to set content in sp-tinymce-editor

Mike D1
Giga Guru

Hi 

I am trying to set content inside the sp-tinymce-editor for an ootb app on our portal. If I run setContent method in the console it works, however I cannot get it to work when trying to update the widget.

MikeD1_0-1669313237999.png

My angularjs is next to none, however I have tried this

 

Html:

{{myContent}}

MikeD1_3-1669313933919.png

 

 

Client:

$scope.myContent = tinymce.activeEditor.setContent("Testing content from console");

MikeD1_2-1669313890922.png

 

I'm hoping someone can please help me here..

 

Thanks

Mike

 

1 ACCEPTED SOLUTION

Mike D1
Giga Guru

I was able to solve this by editing below

MikeD1_0-1669317301657.png

 

View solution in original post

1 REPLY 1

Mike D1
Giga Guru

I was able to solve this by editing below

MikeD1_0-1669317301657.png