Can I paste my own HTML, or edit a page's code?
Yes. Paste HTML turns your own code into designed sections: paste a section or a whole page (with its CSS in <style>) and each top-level block becomes a section you can change on the canvas and as code. Open it from Developer → Code (Paste HTML), from Add → Sections → Your code, or press Ctrl+V on the canvas with HTML copied. A website page's own file (pages/<page>.html) can be edited too: it's the page top to bottom, each section's HTML between markers and each part made on the canvas with the HTML the live site draws for it. Change a section, paste new HTML between the blocks (it becomes a new section in that place), write a block twice to copy it, delete one to remove it, or move blocks to reorder them, then Save (Ctrl+S). Change a part made on the canvas and saving turns it into a code section, in the same place and size (Furge asks first, and Undo brings the part back); a part that would lose what it does stays on the canvas, and Furge says why: a button that goes to another page, a form field, live data or a main component. Furge takes out scripts and event attributes like onclick, because a section never runs scripts (Furge's own interactions, such as data-tabs and data-carousel, work instead), and says so before anything is added. Paste the CSS too: HTML whose classes have no CSS comes in as plain text, one thing under another, so Furge says so before adding it and opens the box for CSS from a separate file. Code copied out of a section Furge made keeps its look in that section's CSS, beside its HTML in Code; when that section is in the same project, Furge offers its CSS in one click. As published shows the generated markup, read only. An app screen's page file is generated from its parts, and project.json is Furge's own record of the project, so both stay read only.
Steps
- Turn on Developer (Shift+D) and open Code.
- Press Paste HTML, paste your code, check what Furge says it becomes, then Add to page.
- Or open the page's file, edit it, and press Save.
Also asked as
- paste html
- paste my own html
- paste my code
- import html
- my own code
- edit the html
- edit the code
- code is read only
- page is read only
- why is the code read only
- edit page code
- paste a whole page
- paste css
- add custom code
- custom html section
- html embed
- code embed
- use my own template
- paste tailwind
- turn a part into code
- edit a canvas part's html
- part made on the canvas
- why can't this part become code
- pasted code has no style
- pasted html looks plain
- pasted code came out as plain text
- everything one under another after pasting
- where is a section's css
Related
Still stuck? Ask Furge Help, the round chat button at the bottom right, or contact the Furge team.