Preview addon should use editor's "title" property for the title of the new window #4026
Labels
plugin:preview
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Milestone
Type of report
Feature request
Provide description of the new feature
Currently, Preview addon uses its name for the title of the new windows that is create, as you can see in its source code: /~https://github.com/ckeditor/ckeditor4/blob/major/plugins/preview/plugin.js#L100
title = editor.lang.preview.preview,
However, since you can use print function to create pdf files via pdf printers or internal pdf function of chromium-based browsers, I think it should use
title
property of editor instance, so as to have a default pdf filename that resembles the editor title.So, I propose that the above line in code should be changed from
title = editor.lang.preview.preview,
to
title = editor.title,
The text was updated successfully, but these errors were encountered: