Service Portal widget - sp-tinymce-editor image upload not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2019 05:16 AM
I have this very simple widget with the tiny mce html editor. It appears fine one the form and the editor seems to be working. Except when I try to upload an image. The image is not inserted into the editor and I get no error messages in the console log. What am I missing ?
<div class="panel panel-default">
<div class="panel-heading">Preview</div>
<sp-tinymce-editor ng-model="c.data.text" ng-model-options="{getterSetter: true}"></sp-tinymce-editor>
</div>
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2020 10:59 PM
No I have not found a solution as this has very low priority so I simply removed the Insert image option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2020 11:26 PM
Hi Tommy,
In that case, can you share how did you remove the image buttons? I'm going through the same issue.
Thanks,
Arun

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2020 04:46 AM
In the initialisation of tinymce in my widget I left out the image button
toolbar: 'styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | link | code',
I think there is a property for doing this generally on the instanse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2020 02:46 AM
Hi Tommy,
I was able to find an solution for this issue by adding attachment-guid="-1" record-table-name="'incident'" to below code.
<sp-tinymce-editor class="editor" attachment-guid="-1" record-table-name="'incident'" toolbar="c.toolbarContent" ng-model="c.data.text" ></sp-tinymce-editor>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2020 01:43 AM
Thanks