php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55201 markup markup
Submitted: 2011-07-13 10:28 UTC Modified: 2013-02-18 00:34 UTC
From: philip@php.net Assigned: yannick (profile)
Status: No Feedback Package: Online Doc Editor problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: philip@php.net
New email:
PHP Version: OS:

 

 [2011-07-13 10:28 UTC] philip@php.net
Description:
------------
The editor has a "markup" option that inserts markup for roles such as "examples" and "errors" but the current markup only 
applies to a refentry, which is not applicable outside of our reference/ area.

Example: Two days ago someone inappropriately inserted an example refsect1 into a chapter, so this broke the build.

I'm not sure the best way to handle this, but the following may (or may not) work:

- When inside refentry, append the current refsect1 info
- Otherwise, remove it and &reftitle.*; but leave the <para>

If that's too much magic, then we could adjust the "markup" button to offer multiple options per type so, for example, have 
"seealso refsect1" and "seealso standard" options. Something like that.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-21 19:17 UTC] yannick@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: yannick
 [2011-07-21 19:17 UTC] yannick@php.net
The first proposal is effectively too magic...

For the second, could you propose me what you thinks about ? witch content ?
You can view what is actually used here :
http://svn.php.net/viewvc/web/doc-editor/trunk/js/ui/cmp/FilePanel.js?view=markup
About line 178, you can view the "text" properties used in the list into the panel, and line 186, the beginning of the content.

Could you please make a proposal to implement ?

Best,
Yannick
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 11:03:34 2021 UTC