This commit is contained in:
Dean 2023-05-30 10:00:56 +01:00
parent ad7cd39387
commit 74958e59d2
3 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,6 @@
<script>
import { Label } from "@budibase/bbui"
import { onMount, createEventDispatcher } from "svelte"
import { API } from "api"
import _ from "lodash"
import {
autocompletion,
@ -79,9 +77,8 @@
// For handlebars only.
const bindStyle = new MatchDecorator({
regexp: /{{[.\[\]\"#-\w\s\/]*}}/g,
decoration: match => {
const url = match[0]
regexp: /{{[.[]"#-\w\s\/]*}}/g,
decoration: () => {
return Decoration.mark({
tag: "span",
attributes: {

View File

@ -102,7 +102,7 @@ export const getDefaultTheme = opts => {
)
}
export const buildHelperInfoNode = (completion, helper, mode) => {
export const buildHelperInfoNode = (completion, helper) => {
const ele = document.createElement("div")
ele.classList.add("info-bubble")
@ -193,7 +193,7 @@ export const hbAutocomplete = baseCompletions => {
export const jsAutocomplete = baseCompletions => {
async function coreCompletion(context) {
let jsBinding = context.matchBefore(/\$\(\"[\s\w]*/)
let jsBinding = context.matchBefore(/\$("[\s\w]*/)
let options = baseCompletions || []
if (jsBinding) {

View File

@ -337,7 +337,6 @@
gap: var(--spacing-m);
}
.heading,
.cat-heading {
font-size: var(--font-size-s);
font-weight: 600;