Comments (9)
An easy way to add custom image processing would be great too, i. e. I´d like to upload the images to Google Cloud Storage. You could for instance provide a function that receives the image data and returns a custom source.
from element-tiptap.
Hi leo, thanks for your issue.
Recently I will improve the Image extension, including your above features.
- support update alt attribute
- In the current version, you can pass
uploadRequest
to the Image extension when you instantiate it:
new Image({
uploadRequest (file: File): Promise<url> {
// upload file to Google Cloud Storage
return Promise.resolve(url); // return a Promise with your file source url
},
})
but now there is no uploading feedback, i will optimize it.
If you have any questions about this API, I will resolve it and deploy it with other image improvements.
from element-tiptap.
Thank you very very very much!!!!
from element-tiptap.
update image alt is available in version 1.17.0
from element-tiptap.
thanks 👍👍 element-tiptap will help me switch to an own little CMS solution for https://lernzettel.org/ :)
from element-tiptap.
[bug report] The image options are not visible in full-screen mode.
from element-tiptap.
And I am getting the following warning:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "view". Expected EditorView, got Object
found in
--->
at packages/popover/src/main.vue
at src/App.vue
Any ideas on this? Thanks :)
from element-tiptap.
[bug report] The image options are not visible in full-screen mode.
Hey, i saw the problem and thought about it.
Using native fullscreen will just make the element fullscreen, but element-ui
appends popover, tooltip etc. to the body, they're not in this element, so them not visible in fullscreen mode.
But if do not append them to the body, will also have rendering problems if the editor render in el-dialog
.
So here I'm going to set position: fixed
to the editor to make it "fullscreen" .
If you have a better suggestion, I would appreciate it very much.
from element-tiptap.
I have simply fixed these two problems and they are available now.
I am still thinking about other better methods.
If there are any other problems, welcome to submit an issue.
Thank you.
from element-tiptap.
Related Issues (20)
- Link extension how to add placeholder? HOT 3
- 2.0.0-alpha.1 Some Problems!!!! HOT 3
- New version released that works perfectly with Vue 3 HOT 11
- Add SlashCommand to show a list of commands HOT 1
- Why is < p > < br class = "ProseMirror-trailingBreak" > </p > in the element after the line break, but in the saved data, it is < p > </p > empty P tag
- The automated release is failing 🚨
- element-tiptap.js does not provide an export named 'Doc' HOT 2
- Console warnings and errors HOT 2
- 高度是否可以和el-textarea 一样可以变大变小
- 能不能用在 vue3 Antd ui 库中
- 使用 vue3 版本引用,运行失败
- 根据官网文档,vue3引入报错。 HOT 1
- When using "Heading" extension, this component won't unmount
- 如何集成在项目中集成气泡菜单
- 图片上面的气泡菜单应该怎么才能禁用呢,怎么直接{bubble: false}无效?
- 输出为JSON格式的数据保存,请问怎么加载JSON数据到页面展示?没有找到对应的API。 HOT 2
- Vue 3 example doesn't work: _a2.getBoundingClientRect is not a function
- 关于图片上传后或者输入链接后增加到编辑器中的回调方法请问有吗 HOT 1
- 我想自定义一个表格组件在element-tiptap中使用,通过菜单栏点击添加,请问要怎么做呢? HOT 1
- element-Tiptap是不是不能在通过自定义按钮然后插入自定义的组件?好像都是继承tiptap封装好的再二开。Is it not possible to insert custom components through custom buttons in element tap? It seems that they are all inherited from tiptap and packaged before being opened again
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-tiptap.