How to get added widget on click of the gutter codemirror 6 - editor

Hi saw examples on gutter and ViewPlugin to add widgets inside the code editor
https://codemirror.net/examples/gutter/
https://codemirror.net/docs/guide/
but how to add the widget on click of the gutter with codemirror 6

Related

Sitefinity Mvc widgets are greyed out when dropped on the page

This is on an out of the box Bootstrap 4 template that comes with Sitefinity with no additional styling or customization. When I drag and drop any Mvc widgets on the page, they're greyed out. The widgets can be edited but they won't show on the front-end when I publish the page.
When I drag the widget and drop it below the drop area (where the widget is not supposed to be dropped) then the widget becomes visible and not greyed out anymore.
Any idea why my widget areas are making my widgets greyed out? Below is an example, #1 is a greyed out widget which is dropped where it's supposed to be dropped. #2 is a the same widget which is dropped where it's not supposed to be dropped:

Positioning a component in Vaadin Designer 3?

I use Vaadin Designer for framework 7. In this designer I can drag and drop a component and moving the component by clicking on it a moving it to the area I want.
And trying to do the same with the new Vaadin Designer 3. But it seems that AbsoluteLayout is deprecated and the replacement is Div. I drag a Div and on top of it a Button. But I can not move the Button by selecting it a moving it using mouse. Is this possible in Vaadin Designer 3?
BTW I dont want to position the Button using CSS.
Currently there is no AbsoluteLayout in Vaadin 10 and AFAIK not even a plan for such. As that isn't there and Vaadin Designer not supporting absolute positioning directly, this just isn't possible currently with Vaadin 10+ versions. Thus, if you need this feature, I suggest to go with Vaadin 8, which has many of most essential the improvements and will still be supported for many years.

React ToolBox AppBar menu - how to include menu items?

We've just started using React-Toolbox and having a few problems adding menu items to the icon menu. The documentation doesn't have any info on doing this, so does anyone have an example of how to add them when using the AppBar within a component class?

Hide Twitter Bootstrap 3 dropdown on clicking anywhere outside on iPad

I am using Bootstrap 3 and I need to hide the dropdown when clicking anywhere outside on iPad.
Also I need to trigger dropdown on hover instead of click.
This is my code so far: http://codepen.io/sushimashi/pen/Hfcse
I don't see the problem with the click, the dropdowns hide when I click outside (tested in my PC but I think it must work same on iPad). Btw, in this question you can find the solution about hover in dropdowns.

BlackBerry - BrowserField - NAVIGATION_MODE_NODE - OS 6.0 - Radio buttons don't work

[OS 6.0, BrowserField, NAVIGATION_MODE_NODE]
I have a strange problem here...
I must develop an application (6.0) which will use the BrowserField for rendering some HTML files. It will use NAVIGATION_MODE_NODE, the keypad will be used to navigate from a focusable element to another.
I've created a HTML test file here http://dl.dropbox.com/u/1441583/TestPage.html with some input fields.
All of them are working fine, only the radio buttons don't work.
If I don't add "checked="checked"" into a radio button (from a group - all radio buttons are unchecked), the group is skipped (no radio button from the group receives the focus);
If I check a radio button from a group, only this checked radio button will be focused, but still I cannot select another radio button from the group - the rest of the radio buttons from the group are skipped.
The checkboxes are working fine...
final BrowserFieldConfig browserConfig = new BrowserFieldConfig();
browserConfig.setProperty(BrowserFieldConfig.JAVASCRIPT_ENABLED, Boolean.TRUE);
browserConfig.setProperty(BrowserFieldConfig.ENABLE_COOKIES, Boolean.TRUE);
browserConfig.setProperty(BrowserFieldConfig.ALLOW_CS_XHR, Boolean.TRUE);
browserConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE, BrowserFieldConfig.NAVIGATION_MODE_NODE);
I'm using 9800 and 9700 emulators (I don't have a 6.0 device), but somebody tested on a real device, and this wrong behavior is present too.
I've tested with www.google.com -> Settings (there are some radio buttons in that page), and the same: I cannot select another radio button from a group...
What I want to implement is: using the BrowserField, I want to navigate between controls using the keys.
Do you have a hint for that?
It's quite urgent...
Thank you very much,
Tibi.
I've tried on a BB 9780, and the combo-box doesn't work!
So, in NAVIGATION_MODE_NODE mode, the radio buttons and combo boxes don't work?
On some 6.0 emulators the combo boxes are working.
Do you have any clue?
Thanks.
use BrowserFieldConfig.NAVIGATION_MODE_POINTER, otherwise it doesn't work. It sees your combobox as single node and that is why it is not showing properly.

Resources