Coder Social home page Coder Social logo

emoji's People

Contributors

grahamcampbell avatar jbrooksuk avatar m1guelpf 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

emoji's Issues

Add classname to img tag

Emojis will render at 100% size and in some cases (like ours) we're unable to style all images to fit. Ideally we need a classname of emoji on the image tag.

A Question

Upon installing this does this mean I can just type :s m i l i e: in my textarea on my app for comments and it will automatically show as ๐Ÿ˜„ when posted? Im new to laravel so please excuse my noobness.

<!-- Add comment -->
<div class="col-md-12">
  {!! Form::open(array('route' => array('comment_torrent', 'slug' => $torrent->slug, 'id' => $torrent->id))) !!}
  <div class="form-group">
    <label for="content">Your comment:</label>
    <textarea name="content" cols="30" rows="5" class="form-control"></textarea>
  </div>
  <button type="submit" class="btn btn-danger">{!! trans('traduction.save') !!}</button><label class="checkbox-inline"><input type="checkbox" name="confirmation"><strong>Anonymous Comment</strong></label>
  {!! Form::close() !!}
</div>
<!-- /Add comment -->

GitHub Token

Add a GitHub token as this will reduce the amount of rate limiting.

Type error: json_decode() expects parameter 1 to be a string, object given

As soon as I add the EmojiExtension Class to the extensions array from Laravel Markdown I get an Type error.

  /*
    |--------------------------------------------------------------------------
    | CommonMark Extensions
    |--------------------------------------------------------------------------
    |
    | This option specifies what extensions will be automatically enabled.
    | Simply provide your extension class names here.
    |
    | Default: []
    |
    */

    'extensions' => [
        AltThree\Emoji\EmojiExtension::class,
    ],

Type error: json_decode() expects parameter 1 to be a string, object given
in EmojiServiceProvider.php (line 84)

I am working with Laravel 5.4

why revert the support for laravel 5.6?

try using in laravel 5.6, it complains the version conflict.
found that there was a revertion which dropped the support for 5.6
wonder reason
thanks in advance

hit rate limit exceeded even add github oauth token in config

correct me if i'm wrong~

when using with laravel-markdown, got the github rate limit exceeded problem, so i add GITHUB_TOKEN in env with the value of my personal access token, after config:cache command, bad luck however.

after digging around, i changed EmojiServiceProvider, line 79:

originally:

$headers['OAUTH-TOKEN'] = $token;

into:

$headers['Authorization'] = 'token '.$token;

according to this url : https://developer.github.com/apps/building-integrations/setting-up-and-registering-oauth-apps/about-authorization-options-for-oauth-apps/#3-use-the-access-token-to-access-the-api

now it works.

can any guys help to confirm this ?

Dependency version issues.

This package is having a lot of version incompatibility for me, but the most important things would be

"graham-campbell/markdown": "~4.0", //while the latest are 5.0

also, i'm wondering if you would make this compatible with laravel 5.0 too. Would love to have this package in my project

how to use?

Hi ,
First of all let me thank you for this great package. The problem is that there is no document on how to use it. I actually have added this to my project but really don't know where to go with it. I was wondering if you could provide any examples or whatever which will be helpful.
Thanks a lot

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.