@baris Hi, i too have the same requirement, i understand that we have to write a plugin to use the hooks filter:user.updateProfile.
Could you please provide any sample to write plugin and use this hook.
@julian How to set the image's size using markdown (without enable html)?
My forum now using markdown, but I cannot set the image's size
Wonder why the thread went to markdown vs bbcode...
Redactor is WYSIWYG so better to focus on Markdown vs WYSIWYG
@agusputra The whole point of markdown is so you don't have to worry about resizing images. The CSS handles image size via the max-width attribute so it doesn't overspill the container. There's nothing to say you couldn't change that value to make images smaller though.
@henrywright It's not really. BBCode came about because forums didn't want people posting plain HTML (risky) so a separate language (Bulletin Board Code) was created to work like HTML but with the ability to sanitise all the input.
Logical at the time to replace <b>Text </b> with [b]Text [/b].
@a_5mith I see!
It would not be hard to add a plugin that could handle setting the size of an image manually, if it is really needed. I'd think it would be bad to manually size images inside of posts though, as it might break the responsiveness of it. The software should auto resize any images that are too big based on screen size.
So, what do you want? Do you want BBcode? Do you want Wysiwyg? Do you want more helper buttons?
After I think about it, it seems like Markdown and BBCode better than WYSIWYG editor for one reason "HTML generated certainly neater".
Maybe we need more helper buttons to easier the users
@agusputra I agree with your suggestion about helper buttons. The open source project Rocket Chat has an unobtrusive way of hinting basic Markdown syntax.
Simply a line of greyed text that becomes regular text on mouseover
It might be useful to have something like this at the bottom of the editor input field.