bug v1.0
avatar brianteeman
brianteeman
13 Nov 2013

Steps to reproduce the issue

Click on the image icon or press [ctrl+p]

Expected result

Dialog box to insert an image

Actual result

Dialog box to insert an ALT tag

System information (as much as possible)

Chrome browser on OSX

avatar brianteeman brianteeman - open - 13 Nov 2013
avatar brianteeman brianteeman - open - 13 Nov 2013
avatar b2z
b2z - comment - 13 Nov 2013

The procedure of inserting image is:

  1. Enter alt - Image
  2. Enter url - http://someurl
  3. Enter Title - Title

The result of this will be:

![Image](http://someurl "Title")

So everything works as expected or you do not like the order?

avatar brianteeman
brianteeman - comment - 13 Nov 2013

hardly intuitive? every toolbar i have seen before that has an image button is so that you can insert an image not an alt tag. I guess this is a limitation of markdown which to me is the most brain dead editor that ever existed.

Remember we are creating this tool NOT just for developers but in the hope that we can open up the testing and reporting process to everyone.

Just look at how github itself handles adding images - no toolbar and super easy

avatar elkuku
elkuku - comment - 13 Nov 2013

I believe the idea here is to replicate what GitHub is doing: allowing image upload by simple drag & drop. (not implemented yet)
I believe that's pretty brilliant and - once you get used to markup you don't really want any wysiwyNg editor :wink:

avatar b2z
b2z - comment - 13 Nov 2013

@elkuku If we do implement image uploading, where we will store them?

@brianteeman I will look into it. Definitely it is possible to remove the alt (but it's not valid), but not sure that it is possible to change the order.

avatar mbabker
mbabker - comment - 13 Nov 2013

Is the file uploading part of the API? If so, problem solved.

avatar b2z
b2z - comment - 13 Nov 2013

Is the file uploading part of the API? If so, problem solved.

I think that we should continue to discuss uploading here #18. Sry for making offtopic :)

avatar brianteeman
brianteeman - comment - 14 Nov 2013

Have you looked at https://github.com/drewm/MIU-ImageUpload

This is a plugin for markItUp! to add the ability to browse for images and files to upload via ajax. A link to the file, or image tag is then returned to the editor.

avatar b2z
b2z - comment - 14 Nov 2013

@brianteeman thanks for the link :+1:

avatar b2z
b2z - comment - 3 Feb 2014

We have uploads now.

avatar b2z b2z - close - 3 Feb 2014

Add a Comment

Login with GitHub to post a comment