Webpage Preset
Lo que incluye
- Gratis para descargar y usar
- Abierto para uso personal y comercial
Apoya a The Creator
Utiliza el apoyo puntual o mensual para agradecer al creador este producto gratuito.
GrapesJS Compatible
Probado con GrapesJS 0.19.x, 0.18.x, 0.17.x, 0.16.x
Código abierto en GitHub
Gratis para usar, bifurcar y contribuir
Editor Compatible
Diseñado para el editor de código abierto GrapesJS
Gratis para usar
Abierto a proyectos personales y comerciales
grapesjs-preset-webpage is the official starting configuration behind the GrapesJS demo page. It wires up the pieces a general-purpose site builder needs — code import, device switching and a canvas reset — so you do not have to assemble them yourself.
Commands
gjs-open-import-webpage— opens a modal where a user can paste HTML and CSS to load into the canvas.set-device-desktop,set-device-tabletandset-device-mobile— switch the canvas between the three responsive breakpoints.canvas-clear— remove every component and style from the canvas, behind a confirmation prompt.
Blocks
Three starter blocks are added: link-block, quote and text-basic. Use the blocks option to register a subset, or block to extend any of them by id.
Configuration
The import modal is customisable through modalImportTitle, modalImportButton, modalImportLabel and modalImportContent — the last of which accepts a function, so you can pre-fill the modal with the current page markup. importViewerOptions passes options to the code viewer, showStylesOnChange opens the Style Manager whenever the selection changes, and useCustomTheme toggles the preset's own theme.
Good to know
From v1 the preset no longer bundles other plugins — add block, form or export plugins to your project separately. BSD-3-Clause.
Valoraciones:
Todavía no hay reseñas. Sé el primero en compartir tu experiencia.
Preguntas y respuestas
Aún no hay preguntas. ¿Tienes algo que preguntar?
Problemas comunes que este plugin puede ayudar a solucionar
Preguntas reales de la comunidad sobre el mismo tema — mira cómo otros se adaptaron a ellas.
- #2699✓ Resuelto · 3
¿Se pueden abrir varias pestañas del Constructor de Páginas Web?
- #1285💬 2 responde
¿Qué tan adecuados son los grapeJs para páginas web personalizadas para cada usuario en una aplicación web?
- #6663💬 4 responde
Los símbolos se rompen al cargar páginas progresivamente (las instancias pierden __symbol enlace)
- #5570💬 3 responde
El botón de importar elimina todo el estilo de todas las páginas.
