question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

need custom locale support, manual mode in popover

See original GitHub issue

Description

Need to support l10n in popover to change locale strings(hint). And also need to add manual mode for control popover window. There’s no option to control nor set any options related with popover window until now, and Latex descriptions are hard-coded in variable SAMPLES and NOTES in editor-popover.js. I think we can use l10n in popover to support other languages that we already had. Also we need to serve some options to control popover window so that we could use mathlive in tiny section without popover which wraps whole section.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
arnogcommented, Oct 8, 2019

You can already define new commands by using the macros config property. For example:

   mf.$setOptions({macros: {'square_root': '\\sqrt{#1}'}});

You can also control which inline shortcuts are recognized. Set the overrideDefaultInlineShortcuts config property to false to turn off the default inline shortcuts, then use the inlineShortcuts config property to define only those inline shortcuts you want.

This should give you the customization you’re looking for, but let me know if you need more.

1reaction
Paosdercommented, Sep 30, 2019

Like virtual keyboard virtualKeyboardMode, it needs option to control mode ( e.g popOverMode ) to control its appearing state. At least two modes are needed, auto and manual mode. auto is work as a default mathlive popover and manual is give a chance to developer to control its appearing time. Furthermore, another new option popOverOptions, control its theme or include or exclude other latex expression to describe, that would feel great to customize popover window. And also needed outer API to show or hide popover, like $showPopover() and $hidePopover().

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap popover not showing html content when trigger is ...
I want the popover to have html content, to open on hover and be clickable. But if I set the trigger to 'manual',...
Read more >
Localization - Unity - Manual
Use the Localization package to easily configure localization settings for your application. Add support for multiple languages and regional variants, including ...
Read more >
Popovers - Vuexy - Bootstrap HTML & Laravel admin template
This is considered a “manual” triggering of the popover.Popovers whose both title and content are zero-length are never displayed. Show Method Hide Method...
Read more >
GNU gettext utilities
2.3 Setting the Locale through Environment Variables. As a user, if your language has been installed for this package, in the simplest case,...
Read more >
UI Bootstrap - Angular directives for Bootstrap
For Angular 2 support, check out ng-bootstrap , created by the UI ... If you're using a custom template for the uib-accordion-group ,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found