Code Monkey home page Code Monkey logo

dante's People

Contributors

michelson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dante's Issues

Can't paste image

I use your demo page to test this function but It seems pasted image doesn't work at all. (I can confirm about image in my clipboard, I with the same condition, I pasted it into http://try.discourse.org, It worked well)

  • Chrome 40.0.2214.91 m
  • Windows 8.1

allow placeholder text

by this I mean text that when a user starts typing automatically disappears and is not selectable

Image Upload in grids

Can you suggest some way to upload images into a grid ( if they are uploaded together).

Like as on

if 2 uploaded together, then they get wrapped into a div
if 3 uploaded , then they wrapped into a div
then we can handle their width accordingly.

Angular Directive

Hi,

I really fall in love with this medium-like editor. However, I didn't find AngularJS Directive for this editor.
Is there any intention to create AngularJS version of this editor?

Thanks

Additional Heading Styles

Headings don't seems to have the same style options as paragraphs, is that deliberate? I can't make them bold, italicised or into a quote.

about deleting images

it's a bit too minimalist , many user might not understand that hitting back space is enough to delete the image , please consider adding a small cross button on top of each images , and also try making image position configureable

Selecting link in popup menu overrides default menu

Was poking around and found an issue with the link creation that does not properly resets on deselection.

How to reproduce:

  1. Select text
  2. Click "link" in popup menu
  3. Deselect text
  4. Select some other text

Expected behaviour: normal popup menu should appear

What actually happens: link creation menu appears

Appropriate request method for saving

Why are you using POST method for updating, which is not really RESTful? It seems like PUT method would be much more appropriate.
And it would be nice if we could define keys for params in request, when updating. Or may be you can define events (like 'changed'), so we can override form submit by ourselves?

I apologize if this functionality has already exist, i did't found that.
PS: Thanks for your editor

Mislabeled Debug Option

On the read me, the config option for enabling debugging is listed as "debugMode".

As of version 0.0.7, the option is actually "debug".

Adding New Buttons

We have an idea to add new buttons to the editor. Included in the editor would be a new "widgets" attribute. A developer can write a block of javascript code, and then attach it to the editor using widgets.register

As an example, assume that the current video embedding feature was in a widget.

All the necessary code would be put in a video.js file. At the end of the file, the developer should call widgets.register. The Editor will register the widget, connecting it to that editor instance and creating a new tooltip button for it. If the css and fonts are in place, then an icon can be put onto that new button. A more concrete example has been placed in https://github.com/AdamOstrove/Dante/tree/widget-support

Short Version:
Write new features in external scripts, register them with the editor, include the proper css, and add the widget name to a config option, and the editor will do the rest.

Line breaks

It doesn't seem possible to add a line break instead of a paragraph.

Bower's problems

Hi, I see you have defined a bower.json file contains a package named "dante". However the command bower search dante return nothing. And when I try to install it by bower install --save https://github.com/michelson/Dante.git, Bower throw an error..

image

Thanks.

Undo doesn't reattach removed image

It inserts a new line but not the removed image.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

PS. Very good work! Looking good :)

Weird link button behaviour

Steps to repo

  • Select any text.
  • Click on link button
  • Click close button without typing any info
  • The selected text will not be select anymore
  • Can't click on any button

Hats off to all of you sir...

I was searching for an editor like medium, I did found some too but wasn't quite happy with them and thought of going with one of them and started coding with it but later one day I googled again for editor and tada I found you DANTE the best editor in the market... I love you.

but yeah I have one question how does upload image works :)

Change formatting

Unable to change formatting type (ie: toggle between quote vs header) once defined unless I use Ctrl+Z keyboard shortcut; Ideally an < icon could be displayed to change type or something more user friendly.

Empty captions should redisplay placeholder

When captions become empty the placeholder should re appear (this also solves the problem that currently it's not possible to click on an empty caption and start editing it immediately)

Can't remove a link

Once a text has a link, I can't seem to remove that link. Making the URL field empty or pressing the X does not remove the link.

deleting images is a bit clumsy

I noticed the following weird behaviors:

  • when a text line after an image is removed by pressing backspace the preceding image gets deleted
  • when two or more images follow each other without text between them and the bottom one is deleted by pressing backspace in the text line bellow all of the images get deleted

Image URI issue

Hello Michelson,

Sorry troubling u again n again... :)

Now the issue is when I am uploading an image it getting converted into BASEURI and in background i am saving that image with it's original file name therefore I am unable to view that image after upload.

Could you explain how to handle this situation.

New button example?

How do I add simple new features? For instance I want to add a span 'highlight' class to a selection?

How to save the edited post

I set the store_url: "/post/save"
and how can I get the content with post method.
I don't known content POST param excactly.

Manually post the content?

I'm planing to use your awesome editor in my project but on the post page, there are some forms need to be filled before send to server (there is also a real-time data saving).
So I hope there will be an option to turn off Dante's auto post, let me serialize the content and send it manually.
By the way, when using Dante's or any Medium clone editor. I'll be tied into the editor (In my developing app, I currently using Medium-Editor with jQuery plugin to embed contents and images. Dante can't show the image in the post). So a markdown option would to awesome on the roadmap.

Image options

Are you going to support the background image for each section and the image alignment?

Not sending text on POST request

I'm using the Dante Editor on a CMS that i'm creating using Python and Flask. The problem is that editor not sending nothing on post request.

Keyboard shortcuts for text formatting

It would be very desirable to be able to use common keyboard shortcuts for text formatting. For instance, Ctrl/Cmd+B for setting the selected text as bold (or Ctrl/Cmd+I for italics, etc.) This is a feature that medium and other of its clones have. Other than that, Dante is a great clone.

How save the edited post

I set the store_url: "/post/save"
and how can I get the content with post method.
I don't known content POST param excactly.

embedding without tempering

Currently direct embedding is not possible.
By adding video links it is kinda has the same effect, but by "add an embed" it gets reformatted.

This makes it so that whenever something 'unexpected' gets posted it get's striped of the desired functionality.

remove spinner for bad request

If user enter invalid url for using embedded services like embed.ly and provider return 400 Http Code remove spinner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.