WPCubed Product Support

How to identify a page in WPRichText is empty?

Hi,

How to identify a page in WPRichText is empty?

My documents have the last empty sheet.
So, how to copy to another WpRichtext ONLY the page content? That is not empty?

Thank You.

#1 ♥ 0
3.6k Views 2 users read 1 min
support

Empty pages at the end of a text can be erased with

DeleteTrailingSpace. (This procedure removes space characters and empty paragraphs at the end of the text.)

Apart from that - I assume you still work on the ReportBuilder project mentioned in other post. Please note my answer:

The approach to select page by page and copy to a different viewer for page display will not provide a stable solution to print a text. You will loose formatting and possibly even text.

#2 ♥ 0
This category is archived. No new posts are possible.