-
Notifications
You must be signed in to change notification settings - Fork 108
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
Pasting text causes different styling and positioning issues due to <div> in the text. #129
Comments
@2old4thisShit can you please share the format ? |
|
@2old4thisShit looks like there something wrong with your setup. i checked the format and seems to work fine. have to pulled latest version of print designer ? is wkhtmltopdf version correct ? ![]() ![]() |
print designer was updated yesterday and wkhtmltopdf is 0.12.6.1 (with patched qt) |
I haven't touched or modified anything. I have only entered the view again. Could it be a cache problem? It's very strange, I cleared the site cache, reloaded, I did everything, and it still showed the same problem. And now without touching anything... magic... I don't understand anything |
Hello @maharshivpatel , I have continued testing. I have created two new print formats:
Test4 is displayed correctly. Test 5 never looks like it did in the preview. Video of the process: |
@2old4thisShit can you please once again share the format. I still don't fully understand the issue. |
Test4 created with firefox (works):
Test5, same like test4 but created in chrome (fails)
|
@2old4thisShit because chrome is adding div 🥲. not much we can do here still will try something to resolve this. meanwhile, please paste without styling |
🎉 This issue has been resolved in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
ERPNext: v15.0.0 (version-15)
Frappe Framework: v15.0.1 (version-15)
Payments: v0.0.1 (develop)
Print Designer: v1.0.0 (main)
Webshop: v0.0.1 (develop)
XFR: v0.0.1 (develop) (custom app)
I have placed static text in the print designer, and it appears in a different position. I have to delete the text, save the layout, and recreate the text.
I have noticed that this mainly happens with paragraphs of text.
Preview
![image](https://private-user-images.githubusercontent.com/46288096/295280484-c9958c1c-2277-451e-89dc-7e5ac8115a69.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2NDI2MzQsIm5iZiI6MTcyMTY0MjMzNCwicGF0a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bXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxZDE4ZmZiZWU5NjJiYzg1YmI2YWM3YjUxMzVhZTY1M2MyOWI3ZDAxMjJiOTk3NmFhODJiMjc0NDc1YTViNTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BuiUS7bP1Gmw87ircim0K4-f8hPMB1U7R3pgYhmD7bQ)
The text was updated successfully, but these errors were encountered: