Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
TypePad絵文字アイコンを利用し、JpmobileでのPCブラウザ向け絵文字表示を可能にします。
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.rdoc

emoji_palette

Six Apart様が公開されているTypePad絵文字アイコン画像を利用し、JpmobileでのPC用ブラウザ向け絵文字表示を支援します。 また、RailsAdminに絵文字パレット付き入力フォームを追加します(RailsAdminを利用している場合のみ)。

絵文字変換テーブルにTypeCastのUnicode-ファイル名対応表データを利用しておりますので、本プラグインはGPL-v2でのリリースとなります。

使い方

初期設定

rake emoji_palette:install

でアプリケーションのpublic/に必要なファイルをコピーします。

絵文字の表示

<%= emoji '今日の天気は&#xE63E;' %>
<%= e '今日の天気は&#xE63E;' %>

絵文字入力パレット

<div class="field">
  <%= f.label :text_with_emoji %><br />
  <%= f.emoji_text_area :text_with_emoji %>
</div>

RailsAdminとの連携

class SampleModel < ActiveRecord::Base
  rails_admin do
    field :name
    field :text_with_emoji, :emoji_text
  end
end

Contributing to emoji_palette

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet

  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright © 2011 Mitsuhiro Shibuya. See LICENSE.txt for further details.

TypePad 絵文字アイコン画像 by Six Apart Ltd is licensed under a Creative Commons 表示 2.1 日本 License. Permissions beyond the scope of this license may be available at start.typepad.jp/typecast/.

This project was built partly based on works of TypeCast(code.google.com/p/typecastmobile/) which is released under GPL-v2 license.

Something went wrong with that request. Please try again.