Open shahabaz opened 5 years ago
Hello, thanks for the report. I'll confirm it as a feature request.
If you'd like to see it in CKEditor 5, please add 👍 to the first post, so we'll be able to track the popularity of this request.
I'm not sure I understand this feature. What problem is it supposed to solve?
I'm not sure I understand this feature. What problem is it supposed to solve?
This could be a feature which is similar in word. Adding header and footer to the document.
But Word is a document editor (targetted at printing). There are pages and every page can have a header and a footer. CKEditor is web content editor. There are no pages in this medium, so that's why I don't understand what header and footer could be here.
In some cases people use CKEditor for printed content too, but there's usually a step involved where HTML is converted to PDF and at this stage some specific markup can be treated as a header/footer, but this is specific to that PDF generator.
That's why I'd like to learn as much about your usecase as possible. Let us know if you had something specific in your mind.
You have exactly pointed the same use case printing the document or creating PDF. I was thinking this can add brand value for the customers who uses this feature in the application where the header allows logo and other formatted content can go in. If you think there are work around ways to achieve I am open to that as well.
I can add to use case examples — we have clients who craft documents on the web, for print (detached editor). Usually these have a company-specific or project-specific header and footer attached. Users need to be able to see these while editing — it is a confusing user experience for them to only see this when it is later converted to PDF — we will have users who are spending time looking for how to add the header and footer using the ckeditor toolbar.
Perhaps such header/footer could be defined in CKEditor and used together with the Pagination (and/or Page Break) feature - https://ckeditor.com/docs/ckeditor5/latest/features/pagination.html (doesn't work in FF yet if anyone wants to test it)?
Whenever new page is inserted a page break styled with header and footer styles could be inserted.
That way users would have the ability to define footers/headers and see them in the editor before printing the document.
I can add to use case examples — we have clients who craft documents on the web, for print (detached editor). Usually these have a company-specific or project-specific header and footer attached. Users need to be able to see these while editing — it is a confusing user experience for them to only see this when it is later converted to PDF — we will have users who are spending time looking for how to add the header and footer using the ckeditor toolbar.
^^ This is precisely our use case (documents drafted on the web, and then exported to pdf/word). Are there any updates on this matter? @tbredin , did you end up implementing a custom plugin?
Is there any update please?
🆕 Feature request 💻 Version ckeditor5
📋 Steps