Giter VIP home page Giter VIP logo

Comments (16)

MadcowD avatar MadcowD commented on July 21, 2024 1

Mac would be great @telesoho

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

Thank you for your suggestion, I will try to implement it.

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

I see you've implemented the feature, but it doesn't work for me. I'm on a pixelbook. Would that make a difference? Thanks.

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

BTW, I've installed xclip.

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

@dgk4201
Could you select "Help\Toggle Developer Tools" to show javascript console panel, then use Ctrl+Alt+V to paste some rich text into a markdown, and send the console log to me?

image

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

@dgk4201
I think xclip work fine on your pixelbook. Maybe you copied content be not supported in this version.
This version of the extension does support "image/png","text/html" and "text/plain" only.
I want to know what content type of you copied. Could you please send me the output of teminal after
copying some rich content and runing the following command on your pixelbox terminal.
source ~/.vscode/extensions/telesoho.vscode-markdown-paste-image-0.11.0/res/linux_clipboard_content_type.sh

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

@dgk4201
I'm so surprised while copy text from application on different linux will get different target type.
I use ubuntu, I always get 'text/plain' content type while copy any text, so I use 'text/plain' to get clipboard text. It's the reason the extension doesn't work on your pixelbook.
I have to fix this issue first.
Thank you for your help.

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

@dgk4201
I want to know the clipboard content type on your pixelbook,
Could you help me to sent clipboard content target types of browser and powerpoint on your pixelbook to me?
You can use the following command to get clipboard content target types:

xclip -selection clipboard -o -t TARGETS

For example:
I copy some text from web browser Chrome, will get the following output by the command.

TIMESTAMP
TARGETS
SAVE_TARGETS
MULTIPLE
STRING
UTF8_STRING
TEXT
text/html
text/plain

When I copy some text from LibreOffice Impress, will get the following output by the command.

text/plain;charset=utf-8
text/plain;charset=UTF-8
UTF-8
UTF8_STRING
COMPOUND_TEXT
STRING
application/x-openoffice-editengine;windows_formatname="EditEngineFormat"
text/richtext
MULTIPLE

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

from vscode-markdown-paste-image.

dgk4201 avatar dgk4201 commented on July 21, 2024

from vscode-markdown-paste-image.

telesoho avatar telesoho commented on July 21, 2024

@dgk4201
Paste rich text feature not supported by this version, Maybe I need to buy an Mac first. 😅

from vscode-markdown-paste-image.

irvnriir avatar irvnriir commented on July 21, 2024

Please add the feature for Windows (desc. says it work for Linux)

from vscode-markdown-paste-image.

vezaynk avatar vezaynk commented on July 21, 2024

@telesoho This appears to be implemented and can be closed

from vscode-markdown-paste-image.

Related Issues (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.