Closed sbenji77 closed 2 years ago
Hi @sbenji77, I actually just tried it, looks like it renders fine:
Unless you want it to be rendered as:
If that's what you mean, then we don't support HTML injection into the page.
It's a pity that it doesn't work because to customize some pages it would be a great simplification. Even the H tags at home don't work. Isn't this code toggle tool made for adding code? On front
Benjamin
We have plans to create a widget that will allow HTML code injection. I will mark this Issue as a feature request to track the progress.
Can you explain what code have you been trying to inject? What's the functionality that you need?
Hello,
I would like to be able to add a modal, a slider, an anchor. I'm also looking for the possibility to put a search field in the pages as well but it's mainly for customisation.
Cordialy
Hi,
I would be also interested for the widget with the html code injection for the following use cases:
I would also love to see some possibilities to inject HTML code. Mainly to add a small table to a page.
Referencing #931
Thanks for sharing all the feedback. If you're facing any other challenges that an HTML code injection widget would solve - please, post them in this thread.
Add-on - options enabled by html snippets:
Thanks for the feedback so far. We're now working on the problem space research and we need your feedback on the below points for each scenario you'd like to use the HTML code injection widget in. We appreciate all answers - please, post them in this thread or sent them directly to apimportalfeedback@microsoft.com with the issue number #1041 in the subject.
AR:Remarks: For the markdown scenario it would be great if the the html code snippets could have dedicated place holders to allow developers to provide the markdown files as media files/packages that can be easily uploaded/updated or replaced in the media folder and that are automatically converted and replaced in the code snippet if the media file is correctly linked.
Here an additional remark regarding question (7) above:
Hi,
Our needs
1 - To make a table, a slider, insert a video iframe. To be able to adjust block sizes, for example min-height. In this last point for example a simple page without much content will put a white frame if the background is of a different colour
2 - Not for everyone but if we can make short code to reuse it could be nice
3 - Yes for platforms other than youtube
4- Yes in several instances
6 - 10 Not for the moment
Do you need to reuse styling from the portal's styling guide in the custom HTML code?
Do you need to reuse CSS styling across several instances of custom HTML code?
Do you need client-server validation? For example, server validation if an entity submitted through a custom HTML form already exists.
Do you need user authentication? For example, if an external service can be reached only by a user logged into the portal.
Do you need authorization? For example, if the external service can be reached only by a logged-in user with a given claim.
Do you need another authentication to secure the communication with the server? For example, a non-user-specific token.
Do you need to authenticate users inside the custom HTML code with authentication other than OpenID Connect? For example, username and password.
Benjamin
Hi @mikebudzynski
I can see that you have made progress in the project to implement the functionality. Do you have a visual of the deployment for us users please?
We would like to be able to integrate a Calendly calendar for our users to make appointments with us. This is easily done with an Iframe but as not possible at the moment.
Benjamin from Cdiscount
@sbenji77, we're working on a new widget that will allow you to inject custom HTML code in an iframe. Here's a draft version of the widget, we're still making improvements:
Bug description
Hi, When you try to insert an html tag, for example with toggle code, the tags are displayed in front after publishing it.
Reproduction steps
Expected behavior
We would like to be able to insert small HTML snippets for example.
Is your portal managed or self-hosted?
Self-hosted
On admin page
On front page
Thank you for your Help Cordialy