- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 08:57 AM
Hello All,
I am using TinyMCE html editor in Eureka. When I copy a table into it from say Outlook. The Background colors of the cells as well as table border shading does not appear. Also If I try to create a table within Tiny MCE, even If i define the borders, I see no options to control shading or to even see the borders for that matter, they are invisible. Is there any ideas on how to enhance TinyMCE functionality. I did also go to properties to check what items i could add to the editor. At this time I can not change the the other HTML editor due to the risk I may have in breaking other HTML functionality that is already working fine.
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2015 09:14 AM
Ok so I was successful in getting borders. You have to go to the Source code button in the edit "< >" and manually code the colors and borders colors. Leaving this open in case anyone else has good tinyMCE tricks and/or other ideas to do this without going to the source code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2015 04:30 AM
Hi guys
We currently have a workaround for this. We format the email in Outlook to display exactly what we want to import into our html box.
Send the email to yourself.
Open the email in Outlook and click on "Other Actions > View Source"
Copy the HTML code and paste it into the "View Source" option <> in Service-Now.
Click OK and voila, you have your table complete with all formatting in your HTML box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2015 08:10 AM
Hi James,
Thanks for sharing the workaround. Don't you end up with lots of custom Microsoft-specific tags/attributes in your HTML code though?
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2015 12:29 AM
Hi Slava,
Yes, unfortunately, this is one of the downfalls for this and can cause problems if you want to use the HTML field in an email notification from Service-Now as it adds the font definitions to the email on top of the table such as below
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
..........................................
Column 1 | Column 2 | Column 3 |
---|---|---|
Value 1 | Value 2 | Value 3 |
Value 4 | Value 5 | Value 6 |
............................................
If you do not need to use the HTML field in a notification such as in a KB article, then it seems to work ok as it just ignores the MS specific tags anyway and displays the table as you see it in your email. Not 100% sure if some browsers may have issues displaying it but we have tested in IE and Chrome and works ok in both.
Another alternative is to get the code from the email and then edit it to remove the MS specific tags.
I will agree that it is not an ideal workaround but if you have a table with a lot of formatting, then this can be useful.
One other issue that I am currently trying to figure out is where if you need to edit the field at a later date, sometimes it doesn't use the same formatting as the existing table and can have a text size which is smaller or larger or a different type. Currently testing this though.