Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter gvh

    (@gvh)

    Here’s the solution to proper text wraping.

    Uncomment define(“DOMPDF_ENABLE_CSS_FLOAT”, true); in /wp-content/plugins/wp-pdf-templates/dompdf/dompdf_config.custom.inc.php

    This one’s resolved for me.

    Thanks for the great plug-in.

    geo

    Plugin Author Viljami Kuosmanen

    (@zuige)

    Brilliant! I remember facing similar issues with another app I was using DOMPDF in. This seemed to work there as well.

    Please make sure you move the line define( "DOMPDF_ENABLE_CSS_FLOAT" , true ); to your wp-config.php to retain this modification even after updating the plugin. The file wp-content/plugins/wp-pdf-templates/dompdf/dompdf_config.custom.inc.php gets rewritten when the plugin updates.

    Cheers!

    Antti

    Thread Starter gvh

    (@gvh)

    Thanks Antti. The config file never occurred to me. It’s nice to not have to worry about the updates. I moved the line to wp-config.php, and of course, it works fine from there.

    Best

    geo

    Plugin Author Viljami Kuosmanen

    (@zuige)

    [marked topic as resolved]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘images and text wrap’ is closed to new replies.