mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
experimental: Allow json in template literals (#3886)
## Description closes #3872 - [x] - Builder support - [x] - Publish support ## Steps for reproduction Example https://add-json.staging.webstudio.is/builder/8160e16d-5ab4-4249-86de-0c98a64526a3 https://test-json-ki9yj.wstd.work/ ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
This commit is contained in:
1 parent
403d7b2328
commit
13da170ef4
38 files changed
+888
-173
No files matched your search
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
import { Fragment, useState } from "react";
|
||||
import type { FontAsset, ImageAsset } from "@webstudio-is/sdk";
|
||||
import { useResource } from "@webstudio-is/react-sdk/runtime";
|
||||
import { useResource, useVariableState } from "@webstudio-is/react-sdk/runtime";
|
||||
import { Body as Body } from "@webstudio-is/sdk-components-react-remix";
|
||||
import { Heading as Heading } from "@webstudio-is/sdk-components-react";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import { Fragment, useState } from "react";
|
||||
import type { FontAsset, ImageAsset } from "@webstudio-is/sdk";
|
||||
import { useResource } from "@webstudio-is/react-sdk/runtime";
|
||||
import { useResource, useVariableState } from "@webstudio-is/react-sdk/runtime";
|
||||
import {
|
||||
Body as Body,
|
||||
Link as Link,
|
||||
|
||||
Reference in new issue
Block a user