New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need load jquery.sceditor.default.min.css to style blockquote in sceditor #667
Comments
Please see: This is getting out of hand, we're getting bug reports every day and it's impossible to keep track of them because they have no milestone by default and no labels so we have to go through all issues without milestone, including Pull Requests to check each one. |
@PirataNervo |
@martec alright I see the differences. I'm just confused about what's the real issue here? We're not loading something, are we loading two different things? Are we loading something twice? |
@PirataNervo We loading something twice {$theme['editortheme']}. (line 1 and line 10 of codebutton template). And not loading something. in mybb 1.8 beta codebutton template <link rel="stylesheet" href="jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />
<link rel="stylesheet" href="jscripts/sceditor/editor_themes/extrabuttons.css" type="text/css" media="all" />
<script type="text/javascript" src="jscripts/sceditor/jquery.sceditor.bbcode.min.js"></script>
<script type="text/javascript" src="jscripts/bbcodes_sceditor.js"></script>
<script type="text/javascript" src="jscripts/sceditor/editor_languages/{$lang->settings['htmllang']}.js"></script>
<script type="text/javascript">
$(function() {
$("#{$bind}").sceditor({
plugins: "bbcode",
style: "{$mybb->asset_url}/jscripts/sceditor/editor_themes/{$theme['editortheme']}", //(repeat same file of first line) correct code <link rel="stylesheet" href="jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />
<link rel="stylesheet" href="jscripts/sceditor/editor_themes/extrabuttons.css" type="text/css" media="all" />
<script type="text/javascript" src="jscripts/sceditor/jquery.sceditor.bbcode.min.js"></script>
<script type="text/javascript" src="jscripts/bbcodes_sceditor.js"></script>
<script type="text/javascript" src="jscripts/sceditor/editor_languages/{$lang->settings['htmllang']}.js"></script>
<script type="text/javascript">
$(function() {
$("#{$bind}").sceditor({
plugins: "bbcode",
style: "{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.default.min.css", //(here used to load style of quote, block quote) |
Yeap I see what you mean, you're correct. Do you have a PR for this? We could definitely style it to match 1.8's blockquote but I don't have time right now, I have an extremely busy week and I'd like to have this fixed and then for Beta 3 we could improve it. |
@PirataNervo |
@martec i've merged your PR. Are you going to submit a PR to change the style to match 1.8 style? Like suggested here: #667 (comment) |
@PirataNervo |
Alright thanks. |
@PirataNervo |
Merged, this is now finished. Thank you @martec |
@PirataNervo |
need load jquery.sceditor.default.min.css to style blockquote etc...
http://i.imgur.com/bLSHIEk.png
i get image above in www.sceditor.com
you can check that minified/themes/default.min.css and minified/jquery.sceditor.default.min.css not are same file.
Quote tag without jquery.sceditor.default.min.css
http://i.imgur.com/JcFmTjl.png
Quote tag with jquery.sceditor.default.min.css
http://i.imgur.com/hZUOtKZ.png
The text was updated successfully, but these errors were encountered: