Cassielxd / CassieEditor

A rich text editor project developed based on prosemirror and tiptap Prosemirror provides the most basic scaffolding There is a lot of room for imagination in the secondary API encapsulation of tiptap
http://39.101.177.50/
Apache License 2.0
66 stars 12 forks source link

Copying and pasting across pages breaks paging #4

Open jaredtibs opened 1 month ago

jaredtibs commented 1 month ago

Steps to reproduce:

  1. Copy text from bottom of page 1 to top of page 2 on the demo site
  2. Paste that text into page 2
  3. Note how the page 1 and page 2 Nodes themselves are actually pasted into the document, resulting in embedded pages.

See screenshot below:

Screenshot 2024-08-14 at 11 43 46 AM
Cassielxd commented 1 month ago

This is a marginal filtering problem. When paging is designed, each page is a custom type page node. If you select Copy and paste, the node whose type is page will also be copied and pasted over. When copying here, you should filter out the nodes whose page type is page

Cassielxd commented 1 month ago

这里的复制过滤没有添加

Cassielxd commented 1 month ago

Hello, this time will update a new upgrade version, this problem will be solved

jaredtibs commented 1 month ago

Hi thank you, when will the new version be released?