Closed
Bug 485665
Opened 15 years ago
Closed 15 years ago
Insert picture does not appear in mozad.css and mozgn.css
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.2.1
People
(Reporter: cilias, Assigned: paulc)
Details
(Whiteboard: sumo_only)
Attachments
(1 file)
1.39 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
The new method of uploading an image for an article and inserting it into an article afterward, was done in bug 450548. Now, if we try to insert an image while the editor is using a stylesheet other than mozkb.css, the "Insert Picture" section does not appear after the image is uploaded. 1. Go to any article that does not use mozkb.css, and click on edit. <https://support-stage.mozilla.org/en-US/kb/Improving+articles> or <https://support-stage.mozilla.org/en-US/kb/Introduction+to+Live+Chat>. 2. In the "Upload picture:" section, click [Browse...] and select an image to upload. 3. Click on [Preview]. Expected result: There should be an "Insert Picture" in the editor, with a thumbnail of the uploaded image. Actual result: No "Insert Picture" section is added, thus image cannot be inserted into the article. If you move the article to the Live Chat Documentation category, then try to edit it, the image you tried to upload before will appear in the editor. So the upload works; the problem is just that the "Insert Picture" section does not appear.
Assignee | ||
Comment 2•15 years ago
|
||
Chris, could you cc me on bug 450548? I can't access it to see more details.
I can't seem to get it to work with Live Chat Documentation category. So I can't fix bug 487947
Blocks: 487947
Assignee | ||
Comment 4•15 years ago
|
||
It seems that mozgn is using the original tiki editpage template. Can we make it use one mozad.css? In other words, is it okay if the editpage for Introduction+to+Live+Chat will become the same as Improving+articles?
Summary: Insert picture only appears in mozkb.css → Insert picture does not appear in mozad.css and mozgn.css
Target Milestone: --- → 1.3
Reporter | ||
Comment 5•15 years ago
|
||
Ideally, they should all be using the same editor (the mozkb.css one). That's bug 494101. For the interim, yes we can make it use mozad.css.
Assignee | ||
Comment 6•15 years ago
|
||
Great! Bug 494101 should revamp the editor to "merge" both of these. We can discuss that there.
Assignee | ||
Comment 7•15 years ago
|
||
Simple patch to include it for mozad and create a soft link for mozgn.
Attachment #387560 -
Flags: review?(smirkingsisyphus)
Attachment #387560 -
Flags: review?(laura)
Comment 8•15 years ago
|
||
Comment on attachment 387560 [details] [diff] [review] patch, v1 Be careful patching this to prod b/c of symlink.
Attachment #387560 -
Flags: review?(laura) → review+
Assignee | ||
Comment 9•15 years ago
|
||
r29667 / r Yeah, I looked it over carefully. See the revision numbers above! I even did a checkout of templates/styles ;) Thanks Laura!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: 1.3 → 1.2.1
Assignee | ||
Comment 10•15 years ago
|
||
Oops, second # was r29668
Chris, mind taking verification on this? If not, I'll be happy to do it; thanks!
Reporter | ||
Comment 12•15 years ago
|
||
Verified, by adding images to https://support-stage.mozilla.org/en-US/kb/Adding+screenshots?bl=n and https://support-stage.mozilla.org/en-US/kb/Introduction+to+Live+Chat?bl=n .
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•15 years ago
|
Attachment #387560 -
Flags: review?(smirkingsisyphus)
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•