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

Email template with background image #135

Open
Caimilan opened this issue Apr 20, 2016 · 1 comment
Open

Email template with background image #135

Caimilan opened this issue Apr 20, 2016 · 1 comment

Comments

@Caimilan
Copy link

Is there any posibility to use background images in a template at this time?
Thanks for your geat work!

@bago
Copy link
Member

bago commented Apr 20, 2016

The bundled "master templates" do not declare background images, do not make use of background images.

Theoretically you could write your own template and define an user-definable backgroun-image. The main issue is that you can't drag&drop it but you will have to put the URL in a text-box in the left panel (content).

I'd like to add some UI to support background images in a better way, but I still have to find a good solution: an option is to create an "image widget" for the content tab and then simply show the placeholder or the widget only in the content tab (and not in the main wyswiyg editing area) and let people drag or choose images from that tab. Main drawbackl is that you can't drag from the gallery to the content tab given they share the same space and you can't see them both at the same time.

On the other side I don't know how I could implement "hover tools" in the main wywiwg editing are (like the one you see on normal images) for background-images given that background-images are not "html element" but attributes of html elements and the background images do not take space, instead they share the space with other "content" that may be editable too... so the risk is to have overlapping controls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants