drewroberts / blog

📝 Laravel package for my opinionated style of adding blog posts to Laravel projects
MIT License
2 stars 4 forks source link

Add copyable Nova text field #93

Closed chx2 closed 2 years ago

chx2 commented 3 years ago

Based on discussion in https://github.com/tipoff/addresses/pull/145, the work I started https://github.com/drewroberts/blog/issues/91 will now be imported into this PR so the files are integrated into the package and do not require sourcing from a custom repo elsewhere.

Closes #91

chx2 commented 3 years ago

Close, but no bullseye.

The field does work natively inside the package so boom, no outdated dependency!

Screen Shot 2021-05-05 at 3 16 47 PM

But, It should be possible to pass in html but this appears to still be escaping it. I will need to do a bit more tweaking to make sure HTML can be passed in.(Need to be able to pass in html to make hyperlinking of the link possible)

@joshtorres Looking foward to the completion of this, I need to use this field inside of Markets, Locations, and any other models with a permalink, should I just use this elswhere or open PR's to add the field in the other packages?

joshtorres commented 3 years ago

@chx2 Let's see if Phuc knows a solution. @phuclh do you have any insight here? I know we've used a copy field many times so I'm not sure if you know a quick fix or not