Commit graph

58 commits

Author SHA1 Message Date
adroitwhiz
8fec74c1a1 Change checkboxes_ from array to object map 2020-05-22 22:58:37 -04:00
Paul Kaplan
6d59fb722f Increase touchable size of checkboxes and extension status buttons. 2019-06-10 11:15:58 -04:00
picklesrus
f97721ac43 Manually calculate the bounding box of the flyout since se have all the data so the browser does not reflow as a result of getBBox.
Finish up bounding box calculations.
2019-01-30 10:29:23 -05:00
Paul Kaplan
8601813c14 Ensmallen the delete area to not extend above and below the flyout 2018-11-05 14:26:22 -05:00
Andrew Sliwinski
5b34893292
Revert "Throw Errors instead of using goog.asserts" 2018-08-22 15:29:43 -04:00
Rachel Fenichel
698af3fcbb
Merge pull request from rachel-fenichel/cleanup/throw_errors
Throw Errors instead of using goog.asserts
2018-08-16 11:03:59 -07:00
Karishma Chadha
7d153b787f RTL positioning for category labels and buttons in the flyout. 2018-08-02 12:46:27 -04:00
Rachel Fenichel
c88b1f8d2a Throw Errors instead of using goog.asserts 2018-07-24 16:21:15 -07:00
kchadha
e38969831e
Merge pull request from kchadha/comments
Scratch Block Comments
2018-05-30 19:31:06 -04:00
Karishma Chadha
835a525e61 Fix the fix for RTL. 2018-05-30 16:23:07 -04:00
Karishma Chadha
0969a0dda5 Fix RTL issues. The category list/flyout can be empty when switching from LTR to RTL and vice-versa. 2018-05-30 16:15:19 -04:00
Rachel Fenichel
da93357d3f
Merge pull request from rachel-fenichel/ordered_children
Add ordered option to getDescendants and all uses.
2018-05-25 11:00:55 -07:00
Rachel Fenichel
af4060c75b Add ordered option to getDescendants and all uses.
"
2018-05-16 12:51:41 -07:00
Eric Rosenbaum
4b50998bef Handle very long extension categories 2018-05-15 15:20:58 -04:00
Eric Rosenbaum
cc1f572a89 Add padding to bottom of flyout 2018-05-15 14:50:27 -04:00
Rachel Fenichel
fc0da3e070 All remaining lint in core 2018-05-02 15:32:28 -07:00
Nick Allred
86a7b939cb Subtract metrics.contentTop from metrics.viewTop so that the flyout does not begin to scroll down once the delta is smaller than the value of metrics.contentTop () 2017-10-19 16:57:54 -04:00
Eric Rosenbaum
2497dbb7be Move selectCategoryByScrollPosition into setMetrics
So it gets called on all types of scrolling: wheel, drag, or scrollbar drag.
2017-10-04 13:56:51 -04:00
Eric Rosenbaum
865fbec3a3 Various nits 2017-09-21 11:54:42 -04:00
Eric Rosenbaum
e668728261 Update comment to refer to correct function name 2017-09-20 14:00:58 -04:00
Eric Rosenbaum
a736bc73a7 Fix JSDoc param type 2017-09-18 16:46:31 -04:00
Eric Rosenbaum
89ea480ab0 Move selectCategoryByScrollPosition to flyout_base 2017-09-18 16:41:32 -04:00
Eric Rosenbaum
e494993e82 Move scroll animation into flyout_base 2017-09-18 14:55:40 -04:00
Eric Rosenbaum
53101f763f Cache result of getMetrics 2017-09-18 14:39:08 -04:00
Eric Rosenbaum
5f73a94f5b More adding spaces around operators 2017-09-13 15:28:38 -04:00
Eric Rosenbaum
2785590b9a Check for mouse wheel event before fixing firefox scroll deltas 2017-09-07 15:43:01 -04:00
Eric Rosenbaum
186d1983af Prevent scroll locking up due to scroll target being too low 2017-08-28 15:11:08 -04:00
Eric Rosenbaum
dd1f42799d Update selected category by scrollbar position 2017-08-28 15:11:08 -04:00
Eric Rosenbaum
faa7ee8bc0 Auto-scroll the flyout to the selected category 2017-08-28 15:11:08 -04:00
Eric Rosenbaum
101d195e48 Vertical category menu 2017-08-22 15:49:51 -04:00
Paul Kaplan
12bb873c8e Merge pull request from cesium12/patch-1
Don't attempt to give the flyout negative height
2017-08-11 08:48:41 -04:00
Paul Kaplan
03cd3a454b Merge remote-tracking branch 'google/develop' into merge-07-19 2017-07-19 16:47:44 -04:00
Rachel Fenichel
d2f7d5a71a Use the same math for dragging blocks out of horizontal and vertical flyouts. ()
* Use the same math for dragging blocks out of horizontal and vertical flyouts.

* Update flyout_base.js
2017-07-19 11:30:08 -07:00
Rachel Fenichel
b54c930fd3 Correctly place blocks when the flyout and main workspace are at different zoom levels. () 2017-07-07 11:03:25 -07:00
Rachel Fenichel
2d532225d3 Split flyout into flyout_base, flyout_horizontal, and flyou_vertical
* Rename flyout to flyout_base

* flyout_base minus horizontal and vertical code

* Add flyout_vertical and flyout_horizontal

* review fixes + toolbox and workspace use

* Fix hat block case

* rebuild uncompressed

* Fix travis problem

* Fix build problem
2017-06-08 13:36:11 -07:00
Alan Huang
ae3adf4f4f Don't attempt to give the flyout negative height
Fixes 
2017-06-05 16:41:24 -04:00
Paul Kaplan
10fcaf993d Fix nits 2017-06-02 11:45:47 -04:00
Paul Kaplan
412c971d28 Set checkbox state after creating a variable through the prompt 2017-06-02 11:30:45 -04:00
Paul Kaplan
f6d82d609c Add callback for setting checkbox state ()
* Demo of hack for checkbox state

* Fix jsdoc

* Move getCheckboxState into flyout

* Remove other reference to default checkbox state

* Add public to getCheckedState
2017-06-02 08:11:04 -04:00
Rachel Fenichel
6275e1137c New dragging! Merge from google ()
Port of a major refactor from Blockly.  Dragging logic now lives in block_dragger.js, gesture.js, workspace_dragger.js, dragged_connection_manager.js (unused by scratch-blocks), and insertion_marker_manager.js (used only by scratch-blocks).
2017-05-22 13:08:22 -07:00
DD Liu
06f7fb6b53 Merge pull request from fsih/giveBlocksIds
Give blocks ids
2017-05-12 16:49:42 -04:00
Paul Kaplan
c28e1fc4f5 Add event for checkbox 2017-05-08 15:13:32 -04:00
Wang Yu
7f58042b24 fixes dragging failure in blocks palette
as said in issue , which in introduced by commit 06fa507.

The change is using workspace.scroll instead of viewTop to calculate the position of the scrollbar.
Because the top of the view and the scrollbar position are two different things.
2017-04-24 13:33:41 +08:00
Yu Wang
06fa507dbb fixed when block palette scroll up a little ()
every time the workspace is rerendered.
2017-04-20 16:21:24 -04:00
Paul Kaplan
40ae06c7dd Fix RTL checkbox selection 2017-04-20 09:01:51 -04:00
Paul Kaplan
e117636666 Refactor variable and const definitions for checkbox params 2017-04-19 16:35:08 -04:00
Paul Kaplan
b3d698c71d Add styled monitor checkboxes 2017-04-19 15:12:54 -04:00
Katelyn Mann
cf8ec069bf Initialize local scrollX variable. 2017-04-07 08:32:54 -07:00
Paul Kaplan
cf93f2c092 Fix hat spacing 2017-03-13 09:41:13 -04:00
Rachel Fenichel
57c3666198 Feature/merge feb 2017 ()
* Revert "Rebuild nov 3 16"

* Move injected css to start of head

* simplification

* lint

* Remove copy/paste buttons.

* Localisation updates from https://translatewiki.net.

* Don't split dropdown text if there is an image.

* Unblock push to master.

* Revert "Revert "Rebuild nov 3 16""

This reverts commit c8ca24a000.

* rebuild

* Remove ifelse block and messages'

* Remove obsolete Gecko image hack.  Apparently this has been fixed in Gecko.

* Add correct focus behavior for the modal. Update boundary sounds.

* Disallow clicks on disabled buttons.

* add back metadata tag to qqq

* revert qqq.json

* Improve performance of block dragging.  This is a backport of the blo… ()

Improve performance of block dragging.  This is a backport of the block drag surface from scratch-blocks.  At the beginning of a block drag, blocks get moved to a drag surface which then translates using translate3d to avoid repainting the entire svg on every mouse move.  At the end of the drag, the blocks are dropped back in the svg in their new position.

* API-breaking cleanup.  But doubtful anyone will be affected. ()

* Make add/removeClass return whether they did anything.
* Move more functions onto utils.
* Move bind functions to Blockly.
* Routine recompile.

* String reference in JSON string messages ()

 * Adds message references to message string interpolation, in the form of %{BKY_STRING}.
 * Re-adding CONTROLS_IFELSE block using the new syntax, referencing to CONTROL_IF equivalents.

* Fix compiler errors.

* Break the sidebar out into its own individual component.

* Hide notification messages after a short time interval.

* Fix selection border on blocks that have been highlighted.

* controls_ifelse: Remove right-align. Remove Boolean check on statements. ()

* Move away from using a common modal service, since the block options and the toolbox modals are going to end up behaving fairly differently.

* Fix conflict between 'utils' and 'image dropdown' merges.

* Add a contextual modal for the toolbox.

* Fix some bugs arising in the toolbox modal for the no-categories case.

* Allow attaching blocks to a marked spot from the toolbox modal. This is the last prerequisite for removal of the existing on-screen toolbox.

* Delete the on-screen toolbox.

* Add warning sounds when the user reaches a boundary of the workspace.

* Stop some blocks from throwing errors in headless workspaces.

* Lint

* Fix speling.

* Fix broken highlighting when highlighted block is deleted.  Issue 752.

* When the workspace is empty, make it easy for the user to add a new group of blocks to it.

* Handle the finer points for setting focus correctly after deleting blocks from the workspace.

* When user edits text in a field, set text, not value.

Existing text-editable fields don’t care (dropdown care, but are not
text-editable).  But a note picker needs to set its value to 60 if text
is set to ‘C4’.

* Set the text not the value when closing a text editor.

Also rename variables for clarity.

* Localisation updates from https://translatewiki.net.

* Streamline the logic for block selection callbacks in the toolbox modal.

* Do not show disabled actions in the block options modal.

* Set focus correctly when toolbox modal is dismissed.

* Add information regarding target screen reader and browser.

* Rebuild Blockly.

* Remove unavailable blocks from toolbox modal. Hide unnecessary category name in a toolbox without categories.

* Do some refactoring and tidy-up. Pull some hardcoded strings out for i18n purposes; remove unused strings.

* Update config options for sidebar buttons.

* Minor refactoring. Remove unused dependencies.

* Improve styling of sidebar buttons.

* Remove clipboard functionality.

* Refactor and simplify marked spot logic.

* Change dropdowns to select fields instead of lists of buttons.

* Add ability to specify a css class for labels and buttons

* Don't make labels clickable

* console.log -> console.warn

* change 'class' to 'web-style'

* createSvgElement is now in utils.  fix two calls.

* Improve comments.

* lint

* fix missing semicolon

* When adding a new block group from the toolbox modal, only show blocks with no output connections.

* Clean up the sidebar file and remove unneeded code.

* Remove some functions from utilsService and consolidate code in workspace-tree.component.js.

* Standardize indentation.

* Remove premature focus on buttons in modal dialogs, since this prevents readout of the dialog text.

* Localisation updates from https://translatewiki.net.

* Don't get Toolbox element unless needed.

* Associate flyout button callbacks directly with workspaces

* Add colour block to the block factory base block initial state

* Start getting helpurl and tooltip in

* Generate helpURL and tooltip for Javascript block definition

* Use Tab keys instead of arrow keys for dialog boxes. Set role=alertdialog and read out the header/text automatically. Ensure that Esc key actually closes dialogs and that all keystrokes are captured.

* Add an aria-describedby to the 'create new block group...' button in the workspace to give more context.

* Fix issue with aria-liveregion not speaking. Allow sufficient time for alert noise to play before speaking the notification.

* Make zoom speed independent of event granularity

Before, touchpads would give "smoother" scrolling by delivering lots of
mousewheel events with small distance changes. Because the code only
looked at the sign of deltaY, ten 5px scrolls would zoom 10x more than
one 50px scroll.

This change makes zooming with a touchpad more like zooming with a
mousewheel. On my laptop, a full-scale zoom (fully out to fully in) was
about a 5mm finger movement before, and is now about 3cm.

Fixes .

* Split the scrollbar and flyout out into their own SVG elements. They ()

* Split the scrollbar and flyout out into their own SVG elements. They
are siblings of the workpsace SVG.  This paves the way to make performance
improvements to workspace dragging.

* remove overflow-y on the block exporter labels so scroll bars do not show upin firefox.  Also fix up the styles on the labels so that they display better in firefox. ()

* Fix  by adjusting the regex to not have \.  Still not 100% sure w… ()

* Fix  by adjusting the regex to not have \.  Still not 100% sure why that was there.
Also replaces bad names on input.  There are probably more invalid names but this is
a start.

* update generator comments

* Move the call to disable resize before placeNewBlock so that it is of… ()

* Move the call to disable resize before placeNewBlock so that it is off when workspace resizeContents
gets triggered by placeNewBlock.  This fixes a bug in rtl mode where the workspace was being resized
between when the block was added to the workspace and when it was moved to the proper location.

* Disable workspace resizing while loading the flyout from XML

* Localisation updates from https://translatewiki.net.

* Add a workspace drag surface that blocks and bubble get moved to duri… ()

* Add a workspace drag surface that blocks and bubble get moved to during a workspace drag.
The surface is translated using translate3d instead of svg's translate attribute so that
the browser does not have to repaint the entire workspace on every mouse move.
This is very similar to the block drag surface.

* Address code review comments

* add back hasClass_ utility removed in  and stop using contains since it is not supported in IE

* Fixes  by checking if getComputedStyle is null in is3dSupported.  We do not cache the value in this case and try again later. is3dSupported is only called while users are interacting with blockly which they cannot do while hidden so the performance implications of running the check again are minimal. ()

* Localisation updates from https://translatewiki.net.

* Change the Python codegen for string quoting to match the behaviour of `repr` on a string in CPython.

* Localisation updates from https://translatewiki.net.

* Add an `allInputsConnected` method to `Block` and `Workspace` to test whether all trees in the block forest have their inputs filled. An optional argument controls whether or not shadow blocks are counted as being filled. Recommitting changes off `develop` instead of `master` as per discussion in PR .

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Use the drag surface when scrolling using the scrollbars.  ()

* End event groups when you finish editing a field

* Fix  and make the workspace grid drag along with the workspace. ()

There was some IE specific code that also applies to Edge so just updated
a conditional to include Edge.

* Now that text input's setText skips setValue, it needs to explicitly create a change event

* Check if the text has changed before firing an event

* Init procedure blocks with empty name, and set default name in xml in Blockly.Procedures.flyoutCategory

* Routine rebuild

* Move createDom call into the constructor of block drag surface. ()

* Make cursor stay as a closed hand when dragging blocks around in the drag surface. Do this by applying the same style to text elements in the drag surface that we do in the main svg. ()

* Don't connect to blocks under the flyout.

* recompile again. ()

* Fix german translation

* Fix german translation of 'delete x blocks'

* Adding unit tests for ifelse block.

* Improvements to the generator test framework.

* <field>, <value> reorder due to load/save.

* Use the npm closure library instead of the same library installed at a parallel directory

* Fix undo/redo for FieldCheckbox

Thanks to PR  by ademenev

* PR : Adding support for string table lookups in dropdown field labels

Adding support for string table lookups in dropdown field labels specified in JSON.

Adds Blockly.utils.replaceMessageReferences() method to handle string replacement without interpolation tokens.  Effectively uses the same old code, now moved into tokenizeInterpolation_(), which takes a parseInterpolationTokens option.

Replaces the direct JavaScript references (not pure JSON, and thus not portable).

Demonstrating this behavior in the logic_boolean dropdown.

* Integrating qqq.json changes into messages.json. ()

From commits b77f8cbebc and 4ecdedec9f

* Naming changes in mirror demo

* Adding support for untranslated messages. ()

This will be used to define constants accessible in JSON block definitions. Messages with descriptions that include `{{Notranslate}}` will not be included in the translation files sent to TranslateWiki. Instead, they are written to `msg/json/constants.json`, and later merged back into the `.js` files, similar to synonyms.

Template details: https://translatewiki.net/wiki/Template:Notranslate

* JSON support for message lookup in colour, tooltip, and help URL. ()

String replacement for the colour, tooltip text and help URL attributes of JSON defined blocks.
Demonstrated in logic_boolean.

* Fixes as per code review on PR.

* Reduce number of Closure files in App Engine upload.

* Python false is False.  Issue .

* Replace 'const' with 'var'.

This unbreaks IE10 and advanced compiled apps such as Blockly Games.

* Fix bug in audioService where attached event callbacks were not being cleared properly.

* Rename workspace-tree to workspace-block.

* Minor refactoring of the modal code (add comments, guard against invalid keystrokes, etc.).

* FieldNumber & FieldAngle: Default value "0" ()

FieldNumber and FieldAngle previously accepted "undefined" as values, if not defined in JSON. This catches these and uses "0" for any NaN value.  The constructor value parameter is now optional. Includes tests.

* Remove unnecessary check when attaching a new block to a marked connection.

* Remove debug info.

* Refactor and simplify field-segment.component.js.

* Replace single quotes with double. ()

Fixes commits in .

* Adding extensions for JSON support of dynamic blocks. ()

Adding support for extensions, functions that can assist with loading blocks, much like init functions, but that can be referenced from JSON definitions. This allows JSON definitions to define dynamic blocks such as onchange handlers and mutators.

Rewrote math_number as an example pure JSON block.

* Add ability to add a class to a scrollbar so that different types of … ()

* Add ability to add a class to a scrollbar so that different types of scrollbars can
be distinguished from each other. You used to be able to do this by looking at the parent
element but now all the scrollbars are siblings in the dom.

Also, use this new class to fix  so that layering of the flyout and workspace scrollbars
are done correctly.

* JSON definitions for colour blocks ()

Replaces old colour block definitions with a Blockly.defineBlocksWithJsonArray(..) call. Generator unit tests continue to load and pass, signifying compatibility with prior block definitions.

Replaces extension 'math_number_tooltip' with the reusable 'parent_tooltip_when_inline' extension, also used by colour_picker. Includes tests.

* Rewrite tree.service.js.

- Remove unnecessary code and functions.
- Add documentation where needed.
- Fix a bug arising when a block on the workspace is attached to an existing link.

* Use setValue in fieldTextInput so that procedure renaming works

* Further cleanup and removal of unnecessary functions. Pull some strings out for i18n.

* Use bindEvent_ instead of bindEventWithChecks_ for longStop

* Clean up workspace.component.js. When moving a block from one place to another, move all blocks after it too, and adjust the active descs accordingly.

* Unit tests for JSON block definitions (just the start) ()

 * Beginnings of a JSON block definition unit test set.
 * Dispose of unit test workspaces and blocks in finally blocks.
 * Clarify JSON error message by echoing arg notation.

* New blocks text_count, text_replace, and text_reverse ()

Includes generators for all languages and units tests on those generators.

* Fixing combo boxes getting out-of-sync with NVDA.

Combo boxes need to be special cased like text input. Also, Escape is
a reserved button in NVDA, so I added Enter as a way to "submit and
move up a level" in addition to escape, so these boxes can be edited
while NVDA is on.

* Add a block to reverse a list ()

* Porting math.js blocks to JSON ()

Moving all `math.js` definitions into a single JSON array, complete with i18n syntax for all messages, dropdowns, and tooltips.

Adding Blockly.Extensions.buildTooltipForDropdown(..) to facilitate the creation and error-checking of tooltips that update based on the value of a dropdown.

Now warn on raw string in JSON 'extensions'.

* Fixing JSON support for images in dropdowns. Adding tests. ()

Fixes .

* Update README.md

Add a link to our forum.

* Correcting math_change color

* Enable custom flyout categories.

* Add some safety

* Update the set of reserved words in Python to reflect the current state of Python (2.7 and 3.6). ()

* .getOptions_() to .getOptions() ()

Fixes .

* Blockly.Extensions.buildTooltipForDropdown(..): Deferred validation. ()

Defer tooltip message string check until after load, when all Blockly.Msg should be loaded.
Avoids validation in headless mode, due to lack of document.readyState.

* annotation updates

* jsdoc corrections ()

* Remove use of Array.prototype.includes which is not implemented in IE or Edge < 14. Fixes .

* Attempt to work around the IE/Edge bug where `getComputedTextLength()` throws an exception when the SVG node is not visible. This workaround forces a re-render, which in turn, forces a re-calculation of the node width once a block is inserted into the workspace SVG. This workaround is only executed on IE and Edge. See https://groups.google.com/forum/#!topic/blockly/T8IR4t4xAIY for the initial discussion of this issue.

* Change CSS transforms to work with older browsers ()

* Change the setting of the CSS transform properties on SVG nodes to set both the unprefixed version and the `-webkit-` prefixed version so that Blockly correctly renders in order browsers, such as Safari < 9 and iOS Safari < 9.2. For discussion of this issue, see https://groups.google.com/forum/#!topic/blockly/o3pERaRQhSg

* Correct the separation between the CSS transform property and the rest of the CSS that was in the variable misleadingly called "transform".

* Don't try to get block position in a headless workspace

* Stop bumping neighbours in headless blockly

* Place context menu correctly on touch

* Clear all active desc ids when the 'Erase Workspace' button is pressed.

* Fix a bug where splicing a block between two linked blocks disconnects the group and messes up the focus.

* Deleting a top-level block does not cause blocks after it to be deleted. Properly handle the active desc for this case.

* Use the empty field placeholder for dropdowns that do not have a value selected.

* Bugfix for . I incorrectly converted one CSS transform setting to use the cross-browser setting function in 40a063763c74b3f712c3057565966c25d5cfdb10. ()

* Adding @namespace annotations for JSDoc. ()

* Fix typo causing TypeError ()

* Pinning the angular2 dependency, and including licenses. ()

* Add skeleton for tests on rendered workspaces

* Fix some lint errors

* Correct changedState in setWarningText() ()

When clearing warnings on blocks with IDs, the changedState variable should be true if the text changed. This will trigger the block being reshaped and remove the space for the notification icon (this.bumpNeighbours_).

* Adds Block.prototype.mixin() and Blockly.Extensions.registerMixin(). ()

Adds Block.prototype.mixin() and Blockly.Extensions.registerMixin().
This adds support for a common use pattern in extensions, and adds
error checking to avoid future incompatibilities.

* Porting Logic blocks to JSON ()

Extensions, mixins, mutators and constants now grouped under the new namespace Blockly.Constants.Logic.

* Improving errors/warnings with Block.toDevString() and Connection.toString(). ()

* Add isEditable to field, and add tests

* Separate tests

* Blockly.Constants.Math and Blockly.Constants.Colour extension constants ()

Also, correcting quotes in logic.js.

* Correction to logic_ternary type check ()

* Porting Loop blocks to JSON ()

 * Improved documentation on `Blockly.Extensions.buildTooltipForDropdown`
 * Replaced incorrect uses of `@mixes` JSDoc annotation (on mixin extensions) with `@augments Blockly.Block`.
 * Added Blockly.Extensions.buildTooltipWithFieldValue() extension helper.

* Workspace isDraggable

* JSONify simple list blocks

* JSONify variable blocks

* Initial text block, with a mixin to generate quote image fields. ()

Text block now uses the extension "text_quotes", supported by Blockly.Constants.Text.QUOTE_IMAGE_MIXIN.quoteField_(fieldName), so that each platform can use the best platform appropriate image (size, density, etc.) for the quotes.

* Add no-op stub .neighbors() for headless Connection.

* Adding tests for logic_ternary block in a new jsunit test framework.

* Correcting output of the logic_null block.

* extension controls_if => controls_if_mutator.

* Renamed extension function constant, and moved variables into the mixin.

* Dereference string table references when loading variable fields from JSON.

* Moving FieldImage string dereferencing back into Block.interpolate_() (part of jsonInit()). This sets a clear boundary of where dereferencing should happen.
Towards this, I've added message dereferencing for other field types here, as well.  I've used a pattern of field-type specific helper functions.

* Addressing comments.

* .utils.replaceMessageReferences(..) now gracefully returns non-string arguments.

* Fix a few small errors and rebuild

* Call dynamic toolbox generators correctly

* cleanup

* Fix unit tests, and delete a few that relied on completely undefined behaviour

* Fix RTL text inputs

* eslintignore more tests

* Fix insertion marker highlighting, I think

* Make getFlyout public
2017-02-21 15:09:23 -05:00