New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jodit

Package Overview
Dependencies
Maintainers
0
Versions
649
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jodit - npm Package Versions

1
65

4.2.24

Diff

xdan
published 4.2.22 •

Changelog

Source

4.2.22

:bug: Bug Fix

  • Try to fix Unable to use Speech Recognition #1139
xdan
published 4.2.21 •

Changelog

Source

4.2.21

:house: Internal
  • Improved appearance of tabs
  • Fixed a bug when hovering over a button. The tooltip sometimes did not disappear
xdan
published 4.2.19 •

Changelog

Source

4.2.19

  • Fixed the lag between setting the activity to a list item when opening it.
xdan
published 4.2.18 •

Changelog

Source

4.2.18

:house: Internal
  • When connecting third-party scripts, two attributes are now added to the script tag. Jodit not hiding the raw textarea #1086

    {
    	"crossorigin": "anonymous",
    	"referrerpolicy": "no-referrer"
    }
    
xdan
published 4.2.17 •

Changelog

Source

4.2.17

:house: Internal
  • Removed conversion of list arrays into objects when creating a button in the toolbar. Previously the code looked like:

    Jodit.make('#editor', {
    	constrols: {
    		lineHeight: {
    			list: [1, 1.1, 1.2, 1.3, 1.4, 1.5, 2]
    		}
    	}
    });
    

    was implicitly transformed into an object of the form:

    Jodit.make('#editor', {
    	constrols: {
    		lineHeight: {
    			list: {
    				1: '1',
    				2: '2',
    				1.1: '1.1',
    				1.2: '1.2',
    				1.3: '1.3',
    				1.4: '1.4',
    				1.5: '1.5'
    			}
    		}
    	}
    });
    

    Thus, due to the nature of integer keys, the order of the elements was lost. Now such a transformation does not occur. In your code you clearly need to check what came into list and if it is an array, then use it as is.

    Jodit.make('#editor', {
      constrols: {
        lineHeight: {
          list: [1, 1.1, 1.2, 1.3, 1.4, 1.5, 2],
          update(editor: IJodit, button): boolean {
            if (Array.isArray(button.control)) {
              // Work with array
            }
          }
        }
      }
    });
    

:bug: Bug Fix

xdan
published 4.2.15 •

xdan
published 4.2.14 •

xdan
published 4.2.12 •

xdan
published 4.2.11 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc