Fred Montier Posted June 27, 2020 Posted June 27, 2020 Hello all my friends I need your help for a problem that is actually quite simple but is beyond my ability to re-solve as I have already spent a lot of time finding the solution. This project shows how to use Emoji (emojionearea LIB) directly on uniGUI controls. The problem is that it misaligns the position of the unigui controls and the original HTML is no problem. Another problem is that I can't point the Emoji to another control as per the LIB documentation. The problem is certainly in the CSS because if I remove it from the server module settings it will repeat in the HTML code in the same way as with the uniGUI controls. I was not able to use LayOutconfig and other techniques to adapt this CSS to unigui controls. Any suggestion ? Another detail. Note that I am associating the plugin with the control in ShowForm but is there not a more correct way to do this using the ExtEvents of the control? thanks for listening. PS: This example is to be published in the CodeSamples area. GitHub: https://github.com/mervick/emojionearea/tree/version2?spm=a2c6h.14275010.0.0.40ba5fa3mOqFHn Exemplo: https://jsfiddle.net/1v03Lqnu/?spm=a2c6h.14275010.0.0.40ba5fa3fqfLqQ Página Original: https://developer.aliyun.com/mirror/npm/package/emojionearea/v/3.4.2 Project available at https://www.uniguiexpress.com Quote
Fred Montier Posted June 27, 2020 Author Posted June 27, 2020 FYI: Older versions of Emojionearea works Ok. But is missing a lot of resources like inline insertion, search, positioning, design, configuration options etc etc... I want to work with uniGUI Controls: Edits, Memos, labels etc... So , no need to mention old versions. No use for that... Quote
picyka Posted May 17, 2022 Posted May 17, 2022 On 6/27/2020 at 6:19 PM, Fred Montier said: Hello all my friends I need your help for a problem that is actually quite simple but is beyond my ability to re-solve as I have already spent a lot of time finding the solution. This project shows how to use Emoji (emojionearea LIB) directly on uniGUI controls. The problem is that it misaligns the position of the unigui controls and the original HTML is no problem. Another problem is that I can't point the Emoji to another control as per the LIB documentation. The problem is certainly in the CSS because if I remove it from the server module settings it will repeat in the HTML code in the same way as with the uniGUI controls. I was not able to use LayOutconfig and other techniques to adapt this CSS to unigui controls. Any suggestion ? Another detail. Note that I am associating the plugin with the control in ShowForm but is there not a more correct way to do this using the ExtEvents of the control? thanks for listening. PS: This example is to be published in the CodeSamples area. GitHub: https://github.com/mervick/emojionearea/tree/version2?spm=a2c6h.14275010.0.0.40ba5fa3mOqFHn Exemplo: https://jsfiddle.net/1v03Lqnu/?spm=a2c6h.14275010.0.0.40ba5fa3fqfLqQ Página Original: https://developer.aliyun.com/mirror/npm/package/emojionearea/v/3.4.2 Emoji2-newversion.rarUnavailable Can the example be reposted? Quote
Fred Montier Posted May 19, 2022 Author Posted May 19, 2022 This lib never work ok with uniGUI... New stuff will me possible with CodeInjector since it won't need a uniGUI Control and works directly with html, see recent posts from me. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.