Skip to content

Commit

Permalink
Fix broken tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
FIameCaster committed Mar 13, 2024
1 parent f3fb5e5 commit 8eb668f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prism-code-editor",
"version": "3.1.0",
"version": "3.1.1",
"type": "module",
"description": "Lightweight, extensible code editor component for the web using Prism",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion package/src/prism/languages/abap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/src/prism/languages/sas.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ languages.sas = {
}
},
'options-args': {
pattern: /(^options)[()'"|/\\<>*=:\w\s+-]+(?=;)/im,
pattern: /(^options)[()'"|:\\\w\s=<>/*+-]+(?=;)/im,
lookbehind: true,
inside: args
},
Expand Down
2 changes: 1 addition & 1 deletion package/src/tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createTemplate } from "./core.js"
import { cursorPosition } from "./extensions/cursor.js"

const template = /* @__PURE__ */ createTemplate(
'<div class="pce-tooltip" style="z-index:5;top:auto;display:flex;overflow-x:clip">',
'<div class="pce-tooltip" style="z-index:5;top:auto;display:flex;overflow-x:clip"><div>',
)

/**
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<strong>Lightweight, extensible code editor component for the web using <a href="https://github.com/PrismJS/prism">Prism</a>.</strong>
</p>
<p align="center">
<a href="https://prism-code-editor.netlify.app"><img src="https://github.com/FIameCaster/prism-code-editor/blob/7d49c5e7082f3325473ccf09dae486d0b04b0c63/assets/demo.png" width="640" alt="Editor example"></a>
<a href="https://prism-code-editor.netlify.app"><img src="https://github.com/FIameCaster/prism-code-editor/blob/3.1.0/assets/demo.png?raw=true" width="640" alt="Editor example"></a>
</p>

## Why?
Expand Down

0 comments on commit 8eb668f

Please sign in to comment.