# Perspective HTML Injection

**URL:** <https://forum.inductiveautomation.com/t/perspective-html-injection/74680>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 7, 2023, 3:07am UTC](https://forum.inductiveautomation.com/t/perspective-html-injection/74680 "2023-06-07T03:07:53Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 16, 2023, 9:20am UTC](https://forum.inductiveautomation.com/t/perspective-html-injection/74680/9 "2023-06-16T09:20:30Z")

</div>

reading up on some of the recent questions...

This could be usefull for:

> [@\[FEATURE\] Perspective Workstation: Show numeric/text input on-screen keyboard for touchscreens](https://forum.inductiveautomation.com/t/feature-perspective-workstation-show-numeric-text-input-on-screen-keyboard-for-touchscreens/41741):
>
> We’ve just started rolling out Perspective Workstation on touchscreens and have noticed that there’s no onscreen keyboard that pops up when a user tries to enter a new setpoint into a numeric input field. We have to ensure that Windows 10 is set to tablet mode, and tell the operators to click on the onscreen keyboard icon in the windows tray to enter values… however then the keyboard covers the bottom half of the Perspective screen, 50% of the time which is where the input component is located, …

> [@Perspective - Font Scaling with SVG?](https://forum.inductiveautomation.com/t/perspective-font-scaling-with-svg/74584/11):
>
> CSS can't know things like container sizes reliably because of how rendering order and style cascading works in the browser, fundamentally. So you would have to have JS running on the page to dynamically report the actual container size in order to run an actual dynamic font size calculation the way Vision does. But we don't allow you to write arbitrary JS in Perspective, because we didn't want folks to have to become web developers.

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-html-injection/74680)._
