CSS Help Portal v8.2+ @mention
Found the original css (Content\Styles\cireson.mentions-in-keditor.min.css)
Took the class and attempted to update to.
When saved the portal would not pick up the change also attempted to update the original css file directly, also no change.
Also attempted to iisreset to see if the @ function got loaded into memory.
What am I missing?
Thanks
Best Answer
-
john_doyle Cireson Support Ninja IT Monkey ✭✭✭✭Hi @Brian_Wiest
The reason it does not work is because content inside the Action Log Comment box has now been embedded as an iframe on the page and it loads a separate style sheet. Your only option in the CustomSpace would be to inject the style into the iframe using javascript.
});
app.custom.formTasks.add('Incident', null, function(formObj, viewModel) {<br> formObj.boundReady(function() {<br> $("iframe").contents().find("head").append('<style>.atwho-inserted {background: #FFFF00;color: #000;}</style>');<br> });
5
Answers
Clearing the cache now loads the new code when updating the direct file. cireson.mentions-in-keditor.min.css.
Any thoughts why this would not work in the custom.css?
The reason it does not work is because content inside the Action Log Comment box has now been embedded as an iframe on the page and it loads a separate style sheet. Your only option in the CustomSpace would be to inject the style into the iframe using javascript.