Kapila Ponnamperuma Posted June 12, 2023 Share Posted June 12, 2023 Greetings, we are hoping that we could seek your assistance with an issue that we have been experiencing with our Tibco Spotfire Mod (JS extension).We have implemented an editor feature that would allow users to insert blocks of formatted text. This is achieved via an HTML element in the extension that has the `contenteditable` attribute enabled.The issue that we are running into is that keypress events are not firing for elements that have 'contenteditable' property. We have attempted to apply the same property to some other test elements outside of the editor that we are using, and noticed that the behaviour is the same – the caret can be moved to words in the element with the mouse cursor, but key presses are not inserting letters as would be expected.We would greatly appreciate any insight you and your team can provide on this!Thank you!Kapila Link to comment Share on other sites More sharing options...
Erik Brandin 2 Posted June 12, 2023 Share Posted June 12, 2023 Hi Kapila,It is currently only possible to get user input via HTML elements of type input and textarea.I would suggest to create an idea on the TIBCO Ideas portal to propose an enhancement to extend this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now