Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export: Split placeholders into seperate run #148

Open
ValentinFutterer opened this issue Jan 23, 2024 · 0 comments
Open

Export: Split placeholders into seperate run #148

ValentinFutterer opened this issue Jan 23, 2024 · 0 comments
Labels
new feature New feature or request usability improvement usability improvement

Comments

@ValentinFutterer
Copy link
Collaborator

Changes
Coloring/resizing replaced text is currently handled naively with #color_green flags. See the replaceInParagraphs method in ÀbstractTemplateExportFunctions. This only works, if [placeholder] is in its own run, which can not be relied upon. We should implement a preprocessing, which splits flagged placeholders into their own run and applies the wanted style change.

Additional notes
Similar preprocessing in #147

Acceptance Criteria
It should be possible to change font, size, color, etc. when replacing a placeholder, without it affecting the surrounding text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request usability improvement usability improvement
Projects
None yet
Development

No branches or pull requests

1 participant