Loading...
 

aloha-editor

Items mentioned on 12/12/12 irc with deliminator

easier integration

Looks like most up to date branch of aloha editor is "aloha-modular" branch
relevant issue
an example

  • Essentially, you just include the script tags. You don't need to know anything about requirejs any more
  • requirejs is still works
  • Need to use jqueryui 1.9 or up
  • Plugin files should be compiled into aloha.js, and should not have to be loaded lazily
  • You compile it by customizing the build profile in build/aloha/build-profile-common-extra.js
  • directions on how to build 4.3 Customized Builds
    • The simplest thing is to copy the existing build profile somewhere in your own project
    • Then edit it and only include the plugins that you need to keep the size as small as possible
    • you also have to adapt the appDir url in the build profile and also startFile and endFile
    • otherwise the paths are incorrect since the build profile is in a different folder

How does one use custom language files with plugins?

  • i18n should just work
    • If you have a german browser, the german i18n files are downloaded by requirejs
    • if you have an english browser, the english files are downloaded
    • you can also set the locale option in the build profile to compile a specific language into the output file
    • i18n.t()
    • You can use the requirejs i18n loader plugin
  • We have that implemented, but I believe we use a function tr('Words') to do our translations
  • For our plugins we just execute tr() throughout the plugin


Line breaks

  • We need a way to be able to use p OR br tags depending on the situation. If we updated the code to know when to use one over the other, there is no problems with line heights. needs confirmed
  • http://aloha-editor.org/guides/functional_description.htmlI
  • There is no out-of-the box functionality to just flip a switch and have brs inserted - pull requests welcome
  • Location in code: markup.js preProcessKeyStrokes and processShiftEnter and processEnter
  • It should end up in engine.js with execCommand('insertlinebreak') and execCommand('insertparagraph') for both behviours

contenteditable="false"

  • It should propagate to all descendants of the editable, until contenteditable="true" is encountered, which again should propagate to all descendants until contenteeditable="false" is encountered
  • in aloha you would solve the problem of having blocks of non-editable content inside an editable with the block plugin
  • http://aloha-editor.org/guides/plugin_block.html
  • The second link has a simple demo with a few blocks
    • in the demo you can insert custom "tags" which have been implemented with the block plugin
  • At wikidocs.com The toolbar is completely custom but with static HTML embedded in the page so, we don't use Aloha's out-of-the-box UI at all
    • The code we use is available on the dev-ui-a-la-carte branch
    • It's relatively simple
    • we override the ui-plugin and some components modules via the requirejs path mechanism and hook them to the static html via class attributes
    • The alacarte branch depends on bootstrap and jquery ui as well but only for the autocomplete plugin which could be migrated to bootstrap typeahead

On the horizon for Aloha Editor

  • dev-modular, dev-ui-a-la-carte, accessibility, undo/redo

We'd need a special license?

http://www.gnu.org/licenses/gpl-faq.html#AllCompatibility

  • States LGPL v2.1 is "OK: Convey project under GPLv2 or later 7" - We need an exception to use in releases


Related links

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools