GithubHelp home page GithubHelp logo

inline-code's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inline-code's Issues

Caret at start of the block issue

If I'm trying to edit inline-code at the start of the block symbols appears before the block with default text styling. Moreover If I'll backspace the whole block and continue type text, some broken styling will attach to the text. Watch video
ezgif com-video-to-gif

cannot run on node 18

sweb@sweb-laptop:/home/us1/projects/editor-js$ npm run build:dev

> @editorjs/[email protected] build:dev
> webpack --mode development --watch


webpack is watching the files…

node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (/home/us1/projects/editor-js/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/us1/projects/editor-js/node_modules/webpack/lib/NormalModule.js:401:16)
    at handleParseError (/home/us1/projects/editor-js/node_modules/webpack/lib/NormalModule.js:449:10)
    at /home/us1/projects/editor-js/node_modules/webpack/lib/NormalModule.js:481:5
    at /home/us1/projects/editor-js/node_modules/webpack/lib/NormalModule.js:342:12
    at /home/us1/projects/editor-js/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/us1/projects/editor-js/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/us1/projects/editor-js/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/us1/projects/editor-js/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/home/us1/projects/editor-js/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /home/us1/projects/editor-js/node_modules/babel-loader/lib/index.js:51:71
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.3.0

Cannot place caret outside of inline code

Write the following text:

This is inline code.

Backspace to delete the . at the end of the line and the caret jumps into the inline code tag. You now cannot add normal text at the end of this line. Most editors which work in a similar way allow you to click outside of the inline code or use the arrow keys to place the caret outside.

Migrate to TypeScript

Problem

This tool was built in JavaScript to be a simplest example of Editor.js Tools API usage. Right now further enhancements requires more modern stack.

Task

We need to migrate this project to TypeScript and provide type declarations. Make sure types for the plugin are available when using it in TypeScript project with Editor.js

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.