Giter VIP home page Giter VIP logo

obsidian-emoji-toolbar's People

Contributors

cumany avatar foreveryone1 avatar oliveryh 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

obsidian-emoji-toolbar's Issues

Cannot read properties of undefined (reading 'getElementsByTagName')

dearest community/developer,

When I engage the plugin, I get the subject error message:

Cannot read properties of undefined (reading 'getElementsByTagName')

The emoji panel displays, but nothing happens when I select one. The error message displays upon engaging the plugin, not after choosing the emoji.

Wondering if anyone else is experiencing this?

I am now limited to the use of :) and :( . Without these colorful, emotive emojis, my emotional vocabulary is spiraling. I am devolving at a very fast clip. Any help would be greatly appreciated. Before it's too late.... :).

M

[Feature Request] Option to open emoji toolbar in right-click menu

It would be nice to have an option to be able to open the toolbar and insert an emoji upon right clicking at the cursor position when editing a note.

Right-click a note to bring up the default Obsidian right-click menu (cut, copy, paste, etc) - and have another option in that menu to open the emoji toolbar. Selecting that option would then open the emoji toolbar interface.

Question: How are the emoji encoded?

Hey Oliver 🙂

I am curious how the emoji are stored as characters. I use a project management tool, imdone.io, and it used to be possible to use your emoji as tags on a task. But after an update to the allowable characters that can immediately follow a tag, they are no longer detected as valid tags. I have asked the dev to allow your emoji again, but they need to know which characters to allow.

Different emoji fonts in edit/preview modes

Hi! I just noticed that the emojis are differently (as in different fonts) displayed throughout the different sections:

  • File/folder names -> system font
  • Edit mode -> system font
  • Preview mode -> tweeter emojis font

And was wondering if it could be changed so that it is consistent (twemoji) everywhere.

Thank you very much!

What are Twitter Emoji?

Hey Oliver! Thanks for the useful plugin.

I have been trying to figure out what the difference between normal and Twitter emoji is, but the readme doesn't make this obvious... could you clarify which is better to use in a given situation?

Offline support

Message from Licat:

I'd also like to add that Obsidian is designed to be an offline app, so plugins/themes are generally expected to work offline just as well as online, unless your plugin requires the use of networking (like sync or something)
Your plugin/theme wouldn't deliver a great experience if it looks the different when the user go without internet, or has a spotty connection

Therefore it might be best to detect if offline and then default to not use twitter / online emojis or load them into the local filesystem when online.

Could Twitter emoji be switched off automatically in specified cases?

Hi, I really like those Twitter emojis! However I'm using a reading list implemented by @cumany based on dataview, where the Twitter emojis are poorly rendered:

image

I guess it could be hard to resize them in the dataview generated table, so maybe it's possible that this plugin could automatically turn off twitter emojis in such cases?

The code for dataview:

table without id ("![](" + cover + ")") as Cover,  "<progress value=" + pageprogress + " max="+pagecount+"  class='yellow'>" as progress,file.link as Name, status as Status,publish,grade as Grade
from #book 
where !contains(file.folder, "88-Template") 
sort rating desc

[Feature Request] Focus the first emoji

Hi, thank you for the great plugin!

It would be great to focus on the first emoji without a mouse left click or a down key like Slack or Discord :)

Kind regards.

Current

image

Desired

image

Emoji Window Look messed up

Since the last update the emoji window is kind of messed up a bit:

My used theme is Primary, no further tweaks.

I hope there is an option to revert to the "old" look, as it was perfect.

Screenshot 2022-01-25 122147

Emoji Toolbar plugin load failed in Obsidian v0.13.33 for Windows

I stored obsidian notes in iCloud drive, and I install iCloud app on the Windows desktop, so all the plugins/configuarion/notes will be synced on every devices I used.
There's no problem when I use obsidian on my Macbook and iPad, but when I start obsidian on Windows, it will take a very long time on loading plugins screen, and finally a error message said - "Emoji Toolbar plugin load failed".

image

Beside this plugin, every other things has no problem to use obsidian across macOS and Windows.

Grid view

Requested by Sams_Here to include a grid view, much like other emoji toolbars.

No Color Emojis

Excellent plugin and thanks for your efforts. I've been using it for a long time now, and it has worked well. But with the latest update to Obsidian v1.1.9, all the emojis show up in black and white only, and some appear to be in some odd font - for example, a red circle shows up as a hamburger symbol.

I'm running Ubuntu Budgie 23.04. I've tried the snap version and the appimage, same behavior. I've tried using the default theme, turning off all other plugins, core and community, but still same behavior.

It is possible this is an artifact of the latest update, as I've noticed multiple other bugs. At any rate, I would be interested in your thoughts on ways to fix this.

[github]: missing topics

This repository doesn't have topics set such as obsidian, obsidian-md, obsidian-plugin which leads to less reach. Please add these topics, so Obsidian users can easily find the repository for this great plugin! 😊

Not all emojis are shown

Obsidian: v 0.10.7
Emoji Toolbar: 0.1.1

Many emojis are just five stacked lines and there is no colors. On the image you can see three examples of them.

I tried several different themes with same result.

I use English language in Obsidian (Because there is no Danish version at the moment), but my Manjaro Linux is in Danish.

Screenshot_20210117_215941

Issue with ITS theme

Install the ITS theme and the Style Settings plugin.

In the Style Settings plugin settings page, under "In The Shadows Settings", active the option:

  • Note Elements
    • Headers
      • Center Heading With Lines

See this issue I raised for the ITS theme: SlRvb/Obsidian--ITS-Theme#68 (comment)

Searching emojis, by simillar words

Hi! First of all, I love this plugin ❤️ It makes my notes so beautiful!

Although it's a little problematic to search by exact emoji name. I think it would be a nice feature to search 🔍 emoji by similar word.

For example
Slightly smiling face emoji should be found by words: happy, smile, etc.

[BUG] Emoji is inserted at the very start of the doc, not where the cursor currently is

As stated in the title:
Expected behaviour: emoji is inserted where the cursor is, like how typing works
Current behaviour: emoji is inserted at the very start of the document.

I'm getting this as well in the inspector/debugger:

plugin:obsidian-emoji-toolbar:722 Warning: Failed prop type: The prop `emoji` is marked as required in `Preview`, but its value is `null`.
    at Preview (plugin:obsidian-emoji-toolbar:62352:37)
    at NimblePicker (plugin:obsidian-emoji-toolbar:62868:37)
    at div
    at EmojiToolbar (plugin:obsidian-emoji-toolbar:104169:9)

Using the picker on a new window displays an error message

With the new Obsidian update we can move tabs and put them on a new window. When I do so and open the emoji picker in the new window, it displays the following error.

Cannot read properties of undefined (reading 'getElementsByTagName')

I see there's another issue opened with the same error message (#38) but this seems different. If it's not feel free to merge them together.

  • Obsidian version: v1.0.0
  • Installer version: v0.15.8
  • OS: Windows 10 Pro

Bug w/ multiple windows- always adds emoji to main window active note, not secondary window

Hi there. I have a 2 monitor setup, and have 2 Obsidian windows (same vault/instance) open on each of them with different notes. The plugin works perfectly on the main app window when adding an emoji to a note there. However on the second window with another note is where I get the unexpected behavior.

The emoji selection window opens correctly over the 'right' window the hotkey is pressed. However, when selecting/clicking the emoji, it adds it to the note on the main window, where the blinking cursor last was before clicking the new secondary window. I'm not familiar with the code behind Obsidian, but I could imagine the fix being something like this: adding in some logic to add the emoji in to the active window, not just the active note within the main window.

Thank you, and good work with the plugin. I enjoy using it 🚀

Emojis take three times the size of the regular tag on the same line

by activating the plugin, emojis take the height of about 3x the regular text on the same line in Preview Mode. In Editing mode it behaves as it should. No issues. Currently using Willemstad theme, but same behavior seen with other themes. This issue is different from the one that the images takes most of the screen, although I have also experienced that one.
emoji_toolbar_issue_3xsize_line
image

Not working in Obsidian search box & note title

Hi, thanks for this cool plugin!

One thing I noticed is that it does not work when I try to add an emoji in the search field or in note title (the filename). I can click in the search field (Obsidian), open the emoji selector, select an emoji, but it will be added in the note itself, not in the search field. Most of my tags are emojis, so this hurts. 😃

Not sure if this is a problem of the plugin or of Obsidian, though. 🤔

Emoji seems to append with line break?

In edit mode:
image

In view mode:
image

Split panel:
image

image

Is this happening for anyone else?? I'd like to use this plugin as it will bring an element of fun, but its not really useable with the current bug. :(

Updated note: Theme I am using is Cybertron

://mk

No emojis showing

Hi, thanks for the plugin.
Just installed and assigned a hotkey. The toolbar pops up, and I type, but no emojis are shown.

Win10 with Obsidian 0.9.20 (Insider build).

Emoji disappears when in backtick quotes inside of a js code block

The following renders correctly in edit mode but loses the emojis when in reading mode if the plugin is active.
Renders correctly if the plugin is inactive.

Edit mode

```javascript
// in vault at scripts/coolString.js
class CoolString {
    coolify(s) {
        return `😎 ${s} 😎`
    }
}
```

Reading mode

image

Support platform native emoji in preview

Current Behavior

  • when I search for emoji, it shows images (with visible latency), that do not match my platform's (OSX) representation of emoji
  • When I choose one, the plain text is inserted and a platform-specific rendering is used. Sometimes the visual difference is significant.

Desired Behavior

  • Search for and preview the emoji as they appear on my current platform

Might be related to #35, not sure.

Turn twemoji off by default

Putting twitter emoji on by default is causing bad interactions with the following:

  • If the emoji is in a tag, clicking on the tag results in only # being searched
  • Some CSS rules cause the img tags that's used to display the twitter emoji to be blown up in size

I'm going to turn this off by default (rename the setting), and put warnings for those that turn on this feature.

Apply twitter emoji font

To provide a consistent experience across OS and improved support for new unicode emojis. Add the twitter emoji font

doesn't work in excalidraw.

Unfortunately, it doesn't work in excalidraw in drawing mode. nothing happens after clicking on any of the emojis. I even checked the markdown mode to see if there was something there, but it wasn't.

希望增加语言选择和界面选择

希望增加语言选择界面选择,emoji-mart带了这些选项。
You want to add language selection and UI selection. emoji mart brings these options.

Feature: list emojis without text labels

Current search view:
kuva

If this search would not have the texts, the view could be more compact (have multiple emojis on same row, and the list of emojis of course spans to multiple rows). This would be an option, so the current view would not be changed. And even if text labels are turned off, the search could still use those texts.

Update emoji library

In order to best support new skin tones, a more up to date library is available.

Skin tone support

Requested by mojoux

Ability to select preferred skin tone and reflect this when picking emojis

Twitter emoji cannot turn off in search preview

hi, after switching Twitter emoji support off in settings, I still have Twitter emoji in the search view.

As shown below, the dollar sign is grey (Twitter) while the popup is green (non-Twitter). Is it possible to use non-Twitter emoji in search view? thanks.

Screenshot from 2022-05-20 17-55-20

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.