Giter VIP home page Giter VIP logo

matters-editor's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar devformatters avatar guoliu avatar mayyyc avatar robertu7 avatar tx0c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

matters-editor's Issues

Enable tag search in editor after typing `#`

Is your feature request related to a problem? Please describe.
Currently an user can type @ in editor and enable user search and selection. As tag become more important, an user should also be able to type # in editor and enable tag search and selection

Describe the solution you'd like
When an user type # and some content in editor, a dropdown of tags should appear according to the content the user typed, allowing the user to select which tag s/he would like to mention. This should be similar with typing @ for an user.

Additional context
Currently the editor API only support mentioning user, see example here. We need to either add mention tag to the API, or generalize to any type of mentioning.

Link could be previewed in the editor

Describe the solution you'd like
When I put a link in the editor,
then I mouse-hover a link,
then the preview of that link appears,
so I could check if the link is correct.

Change its position in the editor by dragging the picture

Is your feature request related to a problem? Please describe.
When I insert pictures in the draft, I cannot change the position of pictures. I have to delete and upload them again.

Describe the solution you'd like
When I click the picture, the picture will be selected
When I drag the selected picture, I could change its position in the editor.

Editor Bug: Unable to copy from plain text content

Happens on both Article Editor and Comment Editor: trying to copy from plain text context, like terminal, txt editor, or an url from address bar, paste into Article Editor and Comment Editor, nothing happens,

Expected: should paste the plain text content

Unable to upload image from clipboard

Describe the bug
There will occur an error if the user copies internal images and paste to the editor since we skipped upload those internal images.

To Reproduce
Steps to reproduce the behavior:

  1. Open an article that contains images, copy its content to the clipboard
  2. Create a new draft and paste it to the content area
  3. An error toast shows as "資源不存在"

Expected behavior
No Error

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Edge
  • Version: 85

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.