Formating toolbar : new color tools
|Target version:||Candidate for next major release|
- text color
- background color
#3 Updated by Jérôme BATAILLE about 2 years ago
- File RM_31385_formating_toolbar_color_tools_SVN.diff added
- File bt_color.png added
- File bt_bgcolor.png added
Here is the patch, and the 2 new images to put in public/images/jstoolbar/
This patch does not manage the case when we want background an text color at the same time.
#5 Updated by Jérôme BATAILLE about 2 years ago
Here is a new patch managing some mixed cases of color / background color.Detects if selected text already contains a css tag.
- If tag contains the css we want, replace the color.
- If not, add the css to the other tags.
#9 Updated by Jérôme BATAILLE about 2 years ago
Hi, here is a patch to apply after the previous patch.
It includes code refactoring and Markdown support.
For Markdown, html filter must be disabled (C.f. http://www.redmine.org/boards/2/topics/56096?r=57052#message-57052).
One remark about responsive design, the tools icons div has no horizontal scrollbar enabled. Thus some icons on the right can disappear with smaller window size.
#12 Updated by Dmitry Makurin almost 2 years ago
Two latest patches don't work without:
Am I missing something? That change have never been mentioned in any of related patches.
#13 Updated by Jérôme BATAILLE almost 2 years ago
Hello, you're right changes to jstoolbar.js were missing.
Here is the full SVN diff for this file.