Closed jazibsawar closed 6 years ago
{ hideModules: { "bold": true }, image: { uploadURL: "/api/myEndpoint", dropzoneOptions: {} } }
Not working. Not hiding the modules. I think it is a bug.
I think its support only "bold"
But for me Bold is not working too. I am looking at the code. May be dev can help in this
Ok, I will try to fix it.
this repo is not mine but I will create PR for fix it
hideModules: { bold: true ,italic:true}
I think to update your modules and remove double quote
my configuration its work.
I will try this. Thanks a lot @lagmanzaza
Without quotes also not working. Can you tell me how you are loading this compotent? I am loading this in main.js
import wysiwyg from "vue-wysiwyg"; Vue.use(wysiwyg,{ hideModules: { bold: true, table: true, image: true } })
Then I my components I do <wysiwyg v-model="recipeModel.content" />
Did you forget to add @import "~vue-wysiwyg/dist/vueWysiwyg.css"; to your CSS file
No i didn't. It is looking great otherwise
Hi, I have the same problem :S
I have achieved that by using simple css. @mgyugcha
Hello,
Please see if v.1.2.7
fixes the problem.
Thank you.
Yes, @chmln it fixed it. Awesome.
This issue persists for me in v. 1.2.7
Config:
import wysiwyg from "vue-wysiwyg"
Vue.use(wysiwyg, {
hideModules: {
"headings": true,
"hyperlink": true,
"image": true,
"table": true,
"separator": true
}
})
Yields:
Resolving with css for now
@rugor try to use
Vue.use(wysiwyg, {
hideModules: {
headings: true,
hyperlink: true,
image: true,
table: true,
separator: true
}
})
Hi, I have the same issue here, I'm trying to hide the "Image" button but doesn't work :(
const wysiwygOptions = {
hideModules: {
image: true
},
};
Vue.use(wysiwyg, wysiwygOptions);
Some idea excepting hiding via CSS?
I used the sample code to initiate this component but hideModule is not working in configuration for v1.2.6.
Vue.use(wysiwyg,{ hideModules: { "bold": true, "table": true, "image": true } })