bernhard Posted January 3, 2018 Share Posted January 3, 2018 hi @owzim i want to include your module in my kickstart module and found this issue on the uikit admin theme (full width font size input), would be great to get a fix for it thanks Link to comment Share on other sites More sharing options...
bernhard Posted January 3, 2018 Share Posted January 3, 2018 hi @owzim me again with a more important request i opened a PR on github to trigger an "loaded" event after acefy() is done. would be great to include this in your module, thanks 2 Link to comment Share on other sites More sharing options...
owzim Posted January 6, 2018 Author Share Posted January 6, 2018 On 1/3/2018 at 3:30 PM, bernhard said: hi @owzim i want to include your module in my kickstart module and found this issue on the uikit admin theme (full width font size input), would be great to get a fix for it thanks Hi, unfortunately I currently have little resources for that. You are welcome to open a PR though. Link to comment Share on other sites More sharing options...
netcarver Posted January 6, 2018 Share Posted January 6, 2018 @owzim Great to hear from you in the forums again. I think Bernhard already opened a PR for you. 1 Link to comment Share on other sites More sharing options...
bernhard Posted January 7, 2018 Share Posted January 7, 2018 21 hours ago, netcarver said: I think Bernhard already opened a PR for you. nope, this was a pr for another thing and is already merged 1 Link to comment Share on other sites More sharing options...
netcarver Posted January 7, 2018 Share Posted January 7, 2018 Oops, I stand corrected. 1 Link to comment Share on other sites More sharing options...
Autofahrn Posted December 16, 2023 Share Posted December 16, 2023 Just in case I am not the only one trying to use this great (thanks @owzim!) module inside a repeater with dynamic (AJAX) load of items, it indeed works using the "current" (Oct 2017) dev version along with a tiny fix in ace-extended.js: The issue is, that acefy is invoked multiple times for the same inputfield, which finally seems to trash the JS engine. Just add two lines of code right before $textarea.each (in acefy): : //Fix: Avoid duplicate and recursive invocation of acefy if($textarea.hasClass(ACE_INITIALIZED_CLASS)) return; $textarea.addClass(ACE_INITIALIZED_CLASS); // Mark wrapper as initialized //FixEnd $textarea.each(function() { : and add an appropriate initialization for ACE_INITIALIZED_CLASS at the head of the module: ACE_INITIALIZED_CLASS = 'AceInitialized' 1 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