• It would be nice if you add also possibility to click “link” in caption to open popup for selected fragment on mobile. There is no “ctrl + enter” on smartphones.

Viewing 5 replies - 1 through 5 (of 5 total)
  • +1

    Hello,

    This is possible with, for example, a little javascript.
    With jQuery:

    jQuery(function() {
    	jQuery("#my-element").click(function(e) {
    	var report = decoMistape.getSelectionData();
    		if(report)
    		decoMistape.showDialog(report);
    		
    	});
    });

    Plain javascript

    document.getElementById('my-element').addEventListener( 'click', function(e) {
    var report = decoMistape.getSelectionData();
    	if(report)
    	decoMistape.showDialog(report);
    	
    });

    You could also with a simulated key press and using dispatchEvent.

    After you see the scenario to indicate to the user on mobile.

    • This reply was modified 4 years, 7 months ago by papayo.
    • This reply was modified 4 years, 7 months ago by papayo.

    @papayo I like the idea, please, could you send the code inside of the plugin?, since the developer is not longer answering the plugin issues, maybe we can fork the plugin and to create those requeriments we need.

    Here the place where we can start to upgrade the pugin.
    https://github.com/my-language-skills/simple-spelling-notifications

    @colomet nice idea.

    Hello,

    The code is not necessarily to be included in the plugin, it works outside. it can be integrated into the plugin too. I will take care of doing this in the coming days, at the latest Friday. With a workaround for mobiles in order to detect the selection of text and a mistape text correction reminder.
    I would also provide the translation of the plugin in French and Italian.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mobile friendly – suggestion’ is closed to new replies.