Code Monkey home page Code Monkey logo

quora-mention-editor's People

Contributors

bulatb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quora-mention-editor's Issues

Editor shifts slightly when its link is edited directly through the answer box

Problem

When bound to a link, the editor should only let the user change the link's text through its own text field. If the user tries to go around the editor and change it through the answer box directly, those changes should be blocked.

The changes are prevented, but the editor moves slightly when it happens. It seems to be an interaction with Quora's new Text/Link/None feature.

Repro

  1. Click a link and open the editor
  2. Click on the link again
  3. Move the mouse away from the link while keeping it focused
  4. Try to type some text
  5. Watch the editor jump

Editor doesn't move to follow links whose length significantly changes

Problem

After it's been opened on a link, the editor should follow it wherever it moves as its text or the surrounding content changes. This works correctly when the user changes other content in the answer box while the editor is open, but not when the link's position changes due to edits made through the editor itself.

Repro

  1. Focus a link and open the editor
  2. Type lots of text in the editor field (two or more lines' worth)
  3. Notice the link has moved down and the editor no longer points to it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.