About 50 results
Open links in new tab
  1. javascript - What is lexical scope? - Stack Overflow

    Jun 26, 2009 · This is called lexical scoping where " functions are executed using the scope chain that was in effect when they were defined " - according to JavaScript Definition Guide. Lexical scope is a …

  2. Having issues with my implementation of Lexical in my React typescript ...

    Apr 20, 2024 · I am implementing a basic rich text editor. I am trying to implement bold, italic, underline and strikethrough. A few issues: Underline and strikethrough don't show up. Even when I inspect …

  3. javascript - What is lexical 'this'? - Stack Overflow

    Lexical this simply means that this is looked up in lexical scope. I guess that was actually always the case. Maybe it is easier to understand if we say that an arrow function doesn't have an own this value.

  4. What can create a lexical error in C? - Stack Overflow

    Apr 4, 2011 · You'll find the lexical rules for describing strings lots more complex than the one you wrote, when you include escapes, double-wide characters, and all the other weirdness that goes into a real …

  5. Static (Lexical) Scoping vs Dynamic Scoping (Pseudocode)

    Mar 14, 2014 · Term: Lexical scoping denotes that an entity such as a function resolves its free variables from where the entity is defined. Term: Dynamic scoping denotes that an entity such as a function …

  6. string - What is lexicographical order? - Stack Overflow

    Aug 30, 2017 · What is the exact meaning of lexicographical order? How it is different from alphabetical order?

  7. Supporting "@mention" functionality with lexical js

    Nov 6, 2022 · The Lexical Playground includes mentioning functionality with auto-complete popup. The code for the functionality is available here.

  8. With Lexical, how do I set default initial text? - Stack Overflow

    Apr 23, 2022 · With the Lexical text editor framework, what's the easiest way to initialize the editor in React with a default text string? I could, for instance, create an instance, manually save the JSON …

  9. How to get the rendering in the correct format using Lexical Editor

    Feb 17, 2023 · This lets Lexical handle the rendering from JSON -> HTML in the same way that it does in editable mode and saves you the trouble of writing a separate renderer to go from Lexical JSON to …

  10. How to add text programmatically with Lexical editor?

    Aug 11, 2022 · I'm using draftjs so far and I like it but since draftjs is going to be retired I'm playing with lexical text editor. But I could not figure out even very basic thing, insert text programmatically....