Skip to content

Releases: Patternslib/pat-code-editor

Release 4.0.1

Choose a tag to compare

@thet thet released this 12 Dec 03:02

4.0.1 (2022-12-12)

Bug Fixes

  • Add fallback for okaidia theme which exists in PrismJS but not in Highlight.js (6f5c9d8)

  • Await for styles import, otherwise theme might not be applied. (441033d)

Maintenance

  • Include dist/ and src/ in the npm package. (d96dc89)

  • Update demo - fully escape HTML example, remove debugging markup. (ae39fc2)

  • Use browserslist defaults. (5c0f314)

Release 4.0.0

Choose a tag to compare

@thet thet released this 08 Dec 02:17

4.0.0 (2022-12-08)

Features

  • Build: Include the build in the npm package. (f14bd97)The compiled build is now included in npm packages by including the dist
    directory in .npmignore. To not increase the package size too much the
    JavaScript map files are not included. Now you can include Patternslib
    by using unpkg or jsDelivr like so:

https://unpkg.com/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js
or
https://cdn.jsdelivr.net/npm/@patternslib/pat-code-editor@4.0.0/dist/bundle.min.js

Maintenance

  • Add HTML example to demo. (2c94b6c)

  • Update bundle in demo to correct URL. (4d14b05)

  • Update webpack and bundle config. (0ff2c88)

  • Upgrade to class based pattern. (e7ebe0b)

Breaking Changes

  • Re-implement using highlight.js. (9b3fb47)

Release 3.0.0

Choose a tag to compare

@thet thet released this 28 Jun 08:27

3.0.0 (2022-06-28)

Maintenance

  • @patternslib/patternslib needs to be installed. Adding to devDependencies to avoid version clashes with other packages depending on it. (acad414)

  • Upgrade to @patternslib/dev 2.2.0 and adapt module federation config. (095ae11)

Release 2.1.2

Choose a tag to compare

@thet thet released this 09 Apr 20:39

2.1.2 (2022-04-09)

Bug Fixes

  • Dispatch input event after content has changed. This is also necessary for pat-autosubmit to work. (602fd86)

Release 2.1.1

Choose a tag to compare

@thet thet released this 30 Mar 16:09

2.1.1 (2022-03-30)

Bug Fixes

  • Fix demo for correct bundle location. (88fafab)

  • Set the editor to display-block to always show a cursor, even with not contents. (3b32570)

Maintenance

  • Add but don't use code-editor.scss which should show line-numbers but is not working yet. (e6989ef)

  • Upgrade dependencies. (8228097)

  • webpack: Configure devServer static directory. (b9ef4c7)

Release 2.1.0

Choose a tag to compare

@thet thet released this 03 Dec 23:03

2.1.0 (2021-12-03)

Bug Fixes

  • Deactivate line numbers - They do not work nicely with a

     structure yet. (250149f)

  • Escape HTML when initializing the editor. (dcef878)

  • Fix the tab option and allow tabs as \t and spaces in quotes as values. (a01aedb)

Maintenance

  • Better examples. (b2bcb31)

  • dependencies: Upgrade dependencies. (82ce7fb)

  • dependencies: Upgrade Patternslib to 6.2.0 due to dependency on escape/unescape utility methods. (6e14809)

  • tests: Improve tests. (19f9c2e)

Release 2.0.0

Choose a tag to compare

@thet thet released this 17 Nov 23:18

2.0.0 (2021-11-17)

Breaking Changes

Maintenance

  • build: Extend Patternslib release-it config file. (b017c64)

  • build: Release on GitHub releases. (dcd3718)