I enabled your module yesterday and the styles in admin/settings/wysiwyg_imageupload came in like so:
Spacing 20px Border=imgupl_styles_spacing_20_black_border\n\rBlack Border=imgupl_styles_black_border\n\rSpacing 5px=imgupl_styles_spacing_5\n\rSpacing 10px=imgupl_styles_spacing_10
And didnt work right.
It should have looked like:
Spacing 20px Border=imgupl_styles_spacing_20_black_border
Black Border=imgupl_styles_black_border
Spacing 5px=imgupl_styles_spacing_5
Spacing 10px=imgupl_styles_spacing_10
Also, the description help text for the styles in admin says:
...descriptive name to make it easier to handle. The syntax is "Descriptive Name=imgupl_style_XYC". You _must_ prefix the style with imgupl_style_*! For each style use on separate line.
It should say "imgupl_styles_XYC" AND "imgupl_styles_*!" Notice the "s". Should say styles (plural) not style (singular).
Comments
Comment #1
eugenmayer commentedWell there is a migration issue with the styles, but i dont think its critical at all, as it actually can bi fixed with 10 seconds duty.
They second thing, actually is singular, as the style is one style. That pretty common.
I mark this as wontfix (migration error) as the effort to correctly migrate those styles is pretty huge. I will change the docs though, to be sure people are aware of this isse.
Thanks for the feedback
Comment #2
that0n3guy commentedthanks
Comment #3
that0n3guy commentedEugen,
This is a simple fix, I figured it out on accident :).
This patch is against http://github.com/EugenMayer/wysiwyg_imageupload#
Comment #4
eugenmayer commentedLooks good :) Thank you for the patch!
Comment #5
that0n3guy commentedNo problem, could you commit it to github...
Thanks
Comment #6
eugenmayer commentedI will :)
Comment #7
eugenmayer commentedwell thats not the solution for the problem, this will overwrite all styles, not migrating them. Anyway i wont put any work into this, as its extremly minot. That patch at lest keeps the module functional.
Comment #8
that0n3guy commentedThat just fixes it so it works on the first install.... no migration involved.
Comment #9
eugenmayer commentedComment #10
alexbk66- commentedI reopened this issue as I still have a problem.
I didn't change anything, just installed the module. If I select 'Spacing 20px border' style, that's the html generated:
Comment #11
alexbk66- commented[EDIT] Worked it out, closing again
Comment #12
n3ko commentedI found this bug in a fresh install, and looked after in git too.
The quote bug still present.
Please apply the patch.
TY.
Comment #13
eugenmayer commentedah, that one is a goog catch n3ko! missed that double quotes.. will be included in the next 3.x release
Comment #14
eugenmayer commented