Giter VIP home page Giter VIP logo

editor-box's Introduction

editor-box's People

Contributors

kkarpieszuk avatar

Stargazers

 avatar Mike Campbell avatar Maciek Palmowski avatar

Watchers

James Cloos avatar  avatar

editor-box's Issues

Image url is `undefined` when uploaded image is bigger than max size

Steps:

  • determine what is maximum upload image size on your php installation (to do this, you can go to wp-admin > media > add new and check the information at this screen)
  • prepare image bigger than this size
  • go to front end and click the button to add image and select prepared picture
  • result: html placed in in content editor will be <img src="undefined" />

How to fix:

  • if the image is bigger than max size, display red warning under post content textarea but over the buttons (the plugin already has similar error for different error like on the attached image)
  • Zrzut ekranu z 2022-01-04 21-18-38
  • block image uploading
  • after chosing smaller image, remove the warning and allow to proceed image upload

Make always viisble title field an option

Not every user is happy with title, tags, and categories field hidden and appearing only after providing few words in content editor

The task here is to add configuration screen where users could decide whether they want to see it hidden or always visible

Feature: display notification about image being uploaded

Steps:

  • go to front end and click button to upliad image
  • choose some image and start uploading

Issue:

  • while image is being uploaded, there is no indication about this process: user could think nothing happens and start uploading image again

How to fix:

  • display somewhere notification about image being uploaded. It could be some green bar under textaera similar to the one from the attached image, but green or just less visible in any other way )

Zrzut ekranu z 2022-01-04 21-18-38

Convert post content into blocks on save

Now post content is being save as is and displayed in Gutenberg editor as "classic". This classic block has option in Gutenberg to convert into blocks.

There must be some function to convert it. The task here is to find it and inspect if this could, be done automatically in the moment of the first post save.

Resize displayed image

When image is uploaded with editor box, ajax returns the url to the image and it is placed in textarea content.

The url to the maximum size is used here. Change to use the 'large' size

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.