Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • W wax-prosemirror
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wax
  • wax-prosemirror
  • Issues
  • #34

Closed
Open
Created Jul 29, 2021 by julientaq@julientaq

Empty element break the export

I was trying to move an image around in Wax, so i copy pasted the image.

What happened is that it left the caption where is was. So i copied the caption and pasted it in the new figure element.

Which left in place an unselectable / unremovable <figure> empty element.

So wax should definitely removes any empty figure element on save (and it should also be the case for any empty element: it’s useful to have line breaks when creating the content, but it’s unncessary for all the other situations imho)

As a side note, Wax shouldn’t allow empty elements because the designer will need to go and remove them in editoria to have the best controls on the design.

Image_collée_à_2021-7-29_12-04

image

Edited Jul 29, 2021 by julientaq
Assignee
Assign to
Time tracking