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

Link preview is a span instead of a link #4055

Closed
dortamiguel opened this issue Mar 2, 2017 · 8 comments
Closed

Link preview is a span instead of a link #4055

dortamiguel opened this issue Mar 2, 2017 · 8 comments

Comments

@dortamiguel
Copy link

I'm using keystone 4.0.0-beta.5

When I add a file everything works just fine, but in the file field inside the admin I get a link that doesn't work because is a span. When I change the tag from span to a it works.

const publicPath = 'offers/'
const storage = new Storage({
	adapter: Storage.Adapters.FS,
	fs: {
		path: join(__dirname, '../../../static/' + publicPath),
		publicPath,
	},
	schema: { url: true },
})

// And in my schema
image: { type: Types.File, storage, initial: true, required: true },

Also, how I can preview the image in the admin?

screenshot

@giuseppecrj
Copy link

+1

@r1cebank
Copy link

+1

@w0rldart
Copy link

+1

1 similar comment
@gggllm
Copy link

gggllm commented Aug 5, 2017

+1

@w0rldart
Copy link

w0rldart commented Aug 5, 2017

I think the project is abandoned 😢

@dortamiguel
Copy link
Author

😢

@Noviny
Copy link
Contributor

Noviny commented Sep 20, 2017

Rejoice! #4174 has been merged.

(new beta release likely on Monday, which will have the fix in it)

@Noviny Noviny closed this as completed Sep 20, 2017
@proteye
Copy link

proteye commented Nov 5, 2018

+1

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

No branches or pull requests

8 participants