Re: Add an sceditor ctrl-enter (split quote) toolbar button
Reply #15 – November 23, 2014, 12:37:54 pm
Good to know ... I have been switching over to pale moon to replace firefox (based on Fx core), you may like that as an alternative to chrome on android (or anywhere)
Re: Add an sceditor ctrl-enter (split quote) toolbar button
Reply #16 – November 23, 2014, 12:44:07 pm
Last time I tried firefox on android it was pretty poor. Just installing it today it still seemed slow. I'm guessing anything based on its core is going to be similar. For this feature though (which I've received a lot of positive feedback over already) it's too bad it doesn't work quite right in the default android browser. I still think it would be a good thing to put into Elk though. Even for those not on a touch device having the button in the toolbar announces the feature and the keyboard shortcut.
Re: Add an sceditor ctrl-enter (split quote) toolbar button
Reply #17 – November 23, 2014, 12:58:47 pm
Elk is using a custom version of sceditor right? Is that code available un-minimized somewhere?
Re: Add an sceditor ctrl-enter (split quote) toolbar button
Reply #21 – November 23, 2014, 02:29:22 pm
So chrome and chrome beta on android only fire mousedown before returning focus to the text area if you have the keyboard up and you haven't typed anything. So the click function never fires. You can get click to work by pushing the button twice. The first dismisses the keyboard the second sends the click. However the causes the effect to happen at the end of the next word after the cursor rather than at the cursor location. This is for all the buttons not just the splittag one. So using bold as an example. If it goes "dog [cursor here] cat mouse" and you have the keyboard up but haven't typed anything pushing bold once will do nothing. Pushing it a second time will insert bold markers between cat and mouse instead of between dog and cat. Emoticons insert on first press, but if you haven't typed anything they insert into the wrong location just like above. Using mousedown instead of click seems to make thing work, but you don't return to the text area after the event so you have to manually scroll back down.
Re: Add an sceditor ctrl-enter (split quote) toolbar button
Reply #22 – November 23, 2014, 04:11:14 pm
This seems to be related to the keyboard appearing or disappearing causing a page resize event to fire.