Defect #11056
closed
text color syntax not working
Added by Amrish Bharatiya over 12 years ago.
Updated over 11 years ago.
Description
I am not able to apply text color styles to my wiki pages as shown below:
I did search around for this problem and thought that setting self.filter_styles=false in formatter.rb would resolve it, as you can see form the image below, I have it set with no luck!
I am using bitnami virtual appliance with following version of application stack:
Environment:
Redmine version 2.0.0.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.3
Environment production
Database adapter MySQL
Redmine plugins:
no plugin installed
Is there anything else I am missing?
Thanks for your help!
Files
code.PNG (5.86 KB)
code.PNG |
Screenshot of formatter.rb |
Amrish Bharatiya, 2012-05-30 16:40
|
|
wiki.PNG (4.89 KB)
wiki.PNG |
Screenshot of test wiki page |
Amrish Bharatiya, 2012-05-30 16:40
|
|
- Status changed from New to Closed
- Resolution set to Invalid
With Redmine >= 1.4.0:
p{color:red}. this is red
displays:
this is red
Thanks for the quick response.
I was wondering if there is anything planned to allow formatting part of text withing a paragraph.
- Status changed from Closed to Reopened
it's not working with 2.0.3 at least
This actually works but with a peculiar behavior
some text
p{color:red}. this is red
produces
some text
p{color:red}. this is red
(not red). But
some text
p{color:red}. this is red
produces
some text
this is red
I don't know if this is expected behavior or I am missing something!
Dipan.
- Due date set to 2013-03-24
- Status changed from Reopened to Needs feedback
Well this is a problem which applies on many wiki syntaxes.
The same with the code, ordered or unordered list or even with headings.
This is more likely a general textile problem.
Please give done feedback until next week. Otherwise this issue will be closed.
- Status changed from Needs feedback to Closed
You need to put some space before the "p. ".
Every lonely line is a paragraph in Textile, if it is not a lonely line then it can't be a paragraph; using the "p. " simply allow you to adjust the paragraph style or set language (see http://redcloth.org/hobix.com/textile).
Understood!
But trust me - had this issue not been filed, I would have never come across that thing such as 'color' is even possible! The documentation is clearly lacking this and many similar things that I don't even know yet!
Dipan.
Dipan Mehta wrote:
But trust me - had this issue not been filed, I would have never come across that thing such as 'color' is even possible! The documentation is clearly lacking this and many similar things that I don't even know yet!
As briefly described in online help, Redmine rely on Textile for text formatting; there are probably a lot of Textile formatting possibilities you (and I) don't even know they exist you might be interested in.
Also available in: Atom
PDF