How can I modify the code generated for a PDF by the Add Media button in Classic Editor?

How can I modify the code generated for a PDF by the Add Media button in Classic Editor?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)