- Edited
Ok, well that must not be the problem then. I don’t know why the YouTube url wouldn’t convert. After disabling this extension it converted to a video. Something’s not quite right.
Ok, well that must not be the problem then. I don’t know why the YouTube url wouldn’t convert. After disabling this extension it converted to a video. Something’s not quite right.
Rich Text is a greate feature but is conflict with others extensions that make me disappointed about these problems. I hope there a fix for make Blog and others compatible.
One of my issue from Github: askvortsov1/flarum-rich-text4
Because @askvortsov is not available for any release right now, I forked this project and released some patches today.
composer require glowingblue/flarum-rich-text:v2.0.4-beta.1
This is released under the glwowingblue
namespace, as @glowingblue is sponsoring this update!
Note 1:
Once my changes / fixes will be merged in the official repository, the glowinglbue fork will be deleted.
Note 2:
The beta
tag is only used here so that the official repository can later release a v2.0.4
without interfering with this fork.
huuduy216 You can check my PR: askvortsov1/flarum-rich-text6
I just realized that this fork breaks translations and settings (and maybe other thing), because of the change of namespace... For that reason I will make another branch and tag another version that will use the original namespace.
To use this other version (it'll be v2.0.3.1
) you will need to add the glowinglue git repository to your composer configuration.
wolfshards You can fix this with a little bit of css added to your style settings.
.Flarum-Blog-Composer .ProseMirror.FormControl.Composer-flexible.TextEditor-editor.Post-body{
min-height: 250px;
}
That help. Thx, now the editor needs to be adjusted to not getting windowed.
wolfshards what do you mean by that, do you mean a vertical scrollbar? Can you share a screenshot?
Yes a vertical scrollbar and another bug about the editor is about that glitched the use of Rich text tools. Soo is hard to explain and the screenshots i can do.
askvortsov except indented codeblocks
Does this include indented lists? Or is there maybe some keyboard shortcut to use nested bullets in a list? Thanks!
Here the screenshots: https://ibb.co/X3RvwvX
https://ibb.co/pyWPNdy
https://ibb.co/Fq4mbyr
If you want to hide the horizontal scroll bar you can apply some css as well. However that's probably happening because you have a smaller screen width. You could also optionally use some css to make the page wider, I think flarum by default has 1100px width for large screens - on my forum I increased that slightly to 1200px.
.FlarumBlog-Article-Post .Post-body{
overflow-x: hidden;
}
Larger width page
@media (min-width: 1200px) {
.container {
width:1200px !important;
}
}
Scrooge I have merged your post into the extension discussion since it appears to be a problem with a specific extension and not Flarum in general.
Can you maybe share more details? Does it happen only when editing a post, or also when writing a new post or discussion?
clarkwinkelmann
both!turn the plugin ON, while I was writing or edit post against it happening .But when I close the plugin than problem solving .
ctml
I did not add any css code. humm, while I was written I can not do any thing with post, cannot scroll ,cannot copy(actually cannot copy post only)and while writing with markdown ,it did not show any markdown code.
for example:
# markdown
(code '#'showed )I think discussion / reply templates are not currently enriched when they are loaded into the editor, so I believe the two are not compatible with one another (unless formatting is omitted from the templates, then it is BAU)