About 7,790,000 results
Open links in new tab
  1. 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 …

  2. Do Python's scoping rule fit the definition of lexical scoping?

    Jul 31, 2018 · Lexical scoping means that if you wrote another function with its own local variable x, and had that function call myfun, the local x would not be used. In the Python code, the x = …

  3. How to create an initial value in Lexical rich text, then edit it?

    Dec 15, 2023 · I use the Lexical library from Facebook as a WYSIWYG component but I don't know how to create the initial value? After searching for a long time, I took the initiative to …

  4. 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 …

  5. Newest 'lexical' Questions - Stack Overflow

    Feb 16, 2016 · Lexical is a JavaScript text editor that doesn't use the standard input tags to type the text in. I have created a chrome extension where I do a word find and replace by targeting …

  6. 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 …

  7. lexicaljs - How can I pass in existing html content to initialize an ...

    Oct 17, 2022 · How can I pass in existing html content to initialize an instance of lexical editor? Asked 3 years ago Modified 1 year, 6 months ago Viewed 4k times

  8. Unable to find an active editor state using webpack serve

    Oct 4, 2023 · Lexical maintains a variable called activeEditor in the file Lexical.dev.js in the node_modules folder. If you have lexical installed in both the folder where you run webpack …

  9. lexicaljs - How can I integrate @lexical/table into the lexicalEditor ...

    May 24, 2024 · To integrate the @lexical/table plugin into the lexicalEditor from Payload CMS and ensure you have the necessary controls to edit the table structure, you'll need to follow these …

  10. How can I listen to a keystroke combination with lexical.js?

    Feb 3, 2023 · Lexical dispatches commands internally when key presses are triggered and when other important signals occur. Commands can also be handled using , and incoming …