Confluence is a team workspace where knowledge and collaboration meet. Dynamic pages give your team a place to create, capture, and collaborate on any project or idea. Spaces help your team structure, organize, and share work, so every team member has visibility into institutional knowledge and access to the information they need to do their best work.
but ...
sometimes the complexity of the pages and the built-in collaboration mechanisms (Synchrony) may stop working properly in the face of the largeExcerpt | ||
---|---|---|
|
Table of Contents | ||||
---|---|---|---|---|
|
General information
Confluence with its built-in Collaborative editing mechanism (powered by Synchrony) sometimes may stop working properly due to the high complexity of the content (Pages, Blog posts) . The number of macros, tables, text texts and many other elements that can be used generates a lot of different tags in the background, thanks to which the application is able to present them correctly, it has a very large impact on the operation of the pagesentire application.
If you are facing such issues and have already verified checked all available options for verifying to verify possible problems issues (Troubleshooting Collaborative Editing), you can use the page complexity analysis Complexity Analysis mechanism.
Our mechanism allows you to verify common typical problems caused by various operations in the WYSWIG WYSIWYG page editor (e.g. background copying of redundant tags), and you unnecessary tags, too many tags, etc.). You can also define tag limits yourself to support users by automatically verifying automatically inform users about the complexity of their pages to prevent performance issues.
Excerpt | ||
---|---|---|
|
Table of Contents | ||||
---|---|---|---|---|
|
General information
The Source Editor allows you to edit the XHTML (storage format) of your Confluence page with an intuitive and powerful browser-based editor.
It has features such as:
Simple interface for writing and editing code
Code syntax highlighting
Line numbering
Minimap navigation makes it easy to navigate through large pages
Auto-completion
Find/Replace with regular expression support
Syntax verification before saving the page
The possibility of limiting or enabling access to the source code
Configuration
Go to Confluence Administration → Source Editor (Extender section)
You can enable source code editing
Configuration
Go to Confluence Administration → Complexity Analysis (Extender section)
Depending on the application, different pages may cause some problems, so you can decide how many tags based on your own instance may be problematic to maintain. You can also set an appropriate message for the 3 levels of complexity, which may contain simple information, instructions or a link to a knowledge base describing, for example, good practices in creating websites.
For "Extreme" complexity, you can additionally enable support for excessive nested tags (the issue is described in more detail here → CONFSERVER-54754)
Information about the analysis is presented on every page if you are authorized to view it
You can also enable Complexity Analysis for all Confluence users or you can decide to limit it only to a specific group of people.
Option | Default | Description |
---|---|---|
Allow all | Unchecked | Decides whether access to editing the source code Complexity Analysis reports is available to all users |
Restricted to groups | If you want to limit the ability to edit the source code access to report visibility to specific groups, indicate them in the “User Groups” "User Groups" field and press “Add”"Add" Remember to leave field “Allow all” box unchecked. |
Accessing the source editor
To open the source editor, click the </> button located in the upper right corner of any page. You can access the source editor when adding and editing pages and blog posts.
Editing Confluence Source
The source editor provides direct access to the Confluence page source. Confluence pages are stored in an XML-based format XHTML called Confluence Storage Format.
Info |
---|
Confluence Storage Format is a subset of HTML. It does not support all features of HTML. |
Code Editing
The Source Editor allows you to edit the XHTML (storage format) of your Confluence page with an intuitive and powerful browser-based editor. |
Themes
The editor has 3 built-in appearance themes from which you can choose which one is best for you when editing the code
Default
The default theme for the currently selected Confluence theme
Dark
Dark theme for people who like inverted colors (white/black) when writing code
High Contrast
Similar to the "Dark" theme but with high contrast
Wrap long lines
Automatic wrapping of long code on the next line
HTML Element Reference
HTML Element Reference describes selected HTML elements and attributes, including global attributes that apply to all elements.
HTML Annotations
HTML annotations can help you build pages properly. Shows additional information about possible comments or errors regarding HTML syntax
Invisible characters
Beautify code
Make your code more readable