TinyMCE and base64 images in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2015 09:50 PM
Hi All,
We will moving soon to the Fuji release.
I had a quick question in regards to the way tinyMCE editor handles html data.
Currently in eureka we use htmlArea editor which is of course old and not reliable. We have been using it because it allows us to handle base64 image data in the source code of kb articles (control+C and Control+V functionality for images in KB articles). This works in IE11
As soon as we switch to TinyMCE, we loose the control+C and Control+V functionality for images in KB articles.
But with html area <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhE..........> data is preserved and renders image on the page.
I am hoping for some guidance from you guys. How can I keep using base64 image data but use TinyMCE instead.
I also tested the developers instance of fuji and regardless of what editor I use base64 images i.e. copy paste image from clipboard does not work.
Is there something we can do, to enable this functionality?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2015 10:30 PM
Hi Sanjeev,
To my knowledge there was a bug reported to TinyMCE in regards to base 64 images I believe this was bug 6367 (don't quote me on that) and was in regards to copying from your PC into any TinyMCE Editor.
However, there was also a solution to add "paste_data_images : true" to the configuration of TinyMCE but I do not know if that is an option for ServiceNow.
Not sure if this is useful or not :S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2015 12:10 AM
Thanks for the reply rob.
i have come across a few posts where people suggest to do configuration changes to TinyMCE editor, but I don't know how I can get to it in Servicenow.