Escribí un editor de rebajas de javascript. Cuando hago clic dos veces en la tabla, se crean 2 tablas. Pero tengo un problema por eso. Esas tablas se están fusionando. ¿Cómo evitar este problema?
Aporte:
| A header | Another header | | -------- | -------------- | | First | row | | Second | row | | A header | Another header | | -------- | -------------- | | First | row | | Second | row |Producción:
| un encabezado | otro encabezado |
|---|---|
| Primero | fila |
| Segundo | fila |
| un encabezado | otro encabezado |
| -------- | -------------- |
| Primero | fila |
| Segundo | fila |
Simplemente agregue una línea en blanco para separarlos:
| A header | Another header | | -------- | -------------- | | First | row | | Second | row | | A header | Another header | | -------- | -------------- | | First | row | | Second | row |