Anthony Blackshaw

Results 150 comments of Anthony Blackshaw

Hi @bsdo64, thanks for you're interest in the project. ContentTools itself doesn't provide any image uploading facilities, what it does do is provide a simple UI for implementing you're own...

Hi @ianhatton, So there is, the underlying `HTMLString.String` library's `unformat` method is used to remove the tag data from a selection of HTML. If you look [here](https://github.com/GetmeUK/ContentTools/blob/master/src/scripts/tools.coffee#L132) you can see...

This wont be fixed in this release of CT (e.g 1.0) support for images is lacking in CT1 and in CT2 we'd like to add support for the picture element...

Hi @francis-barban this should be something you can configure like so: ``` ContentTools.RESTRICTED_ATTRIBUTES['*'] = [] ```

Hi @okaybmd - this should actually already be possible. The new functionality added allows you to control the element inserted and ContentEdit supports a `data-ce-placeholder` attribute that lets you set...

OK will take a look at this tomorrow and see if I can provide a more concrete example, I admit I haven't tried the code I posted I was coding...

Not a bother I'm glad of the feedback :)

OK this makes more sense now, so `data-ce-placholder` is the attribute that needs to be used to set the placeholder currently (baring changes we will make). The code I specified...

BTW any official `data-` attributes for CT or CE are namespaced `-ct-` and `-ce-` to prevent clashes with other libraries (we've seen these in the past, `data-tooltip` the most recent...

The cursor position discrepancy you are seeing is down to how browsers treat an empty contenteditable element. Funnily enough the reason I added `:after` elements initially was to solve a...