Commit graph

1763 commits

Author SHA1 Message Date
Inez Korczynski 0ced900973 Added missing CSS and PNG so ce demo does not complain anymore. 2012-02-07 22:03:39 +00:00
Inez Korczynski e0c10cdfff Cleanup ve.es.Content.js for ContentEditable and setup toolbar as empty (as there is no working functionality for now) 2012-02-07 22:02:11 +00:00
Alexandre Emsenhuber f162145298 svn:eol-style native 2012-02-07 19:13:19 +00:00
Trevor Parscal 250434aee0 Reorganized demo and demo-ce into demos/es and demos/ce 2012-02-07 18:15:28 +00:00
Sam Reed b5c998d1ee Merge r110853 2012-02-07 16:37:08 +00:00
Gabriel Wicke 157c495a9e Normalize the title in localurl. 232 tests passing. 2012-02-07 12:26:00 +00:00
Gabriel Wicke b4892102a4 Clean up transform callback interface 2012-02-07 11:53:29 +00:00
Gabriel Wicke 1f6db903e9 Pluck a few low-hanging fruit in external link tokenization, and add a simple
localurl parser function implementation. 230 parser tests now passing.
2012-02-07 10:28:23 +00:00
Gabriel Wicke cf8b7bf45d External links don't nest. 2012-02-07 09:38:28 +00:00
Gabriel Wicke d321d96bab Fix parserTests summary with filtering enabled 2012-02-07 09:27:47 +00:00
christian 2a076da93a removing outline from contenteditable 2012-02-07 02:01:26 +00:00
christian be552732c0 tweaks to margins 2012-02-07 02:00:08 +00:00
Inez Korczynski 9173608afb Adapt ContentEditable code to new schema of directories and files 2012-02-07 01:43:49 +00:00
Trevor Parscal 8078b0f8a2 Fixed backspace - another issue related the r110805 (or as we are now calling it, "The Great Code Migration of 2012") 2012-02-07 01:11:32 +00:00
Trevor Parscal d172b220b7 Minor fixes (line length breaking, jshint nagging, etc) 2012-02-07 00:42:16 +00:00
christian 8fa33f3136 work on copying and pasting 2012-02-07 00:21:38 +00:00
Trevor Parscal 5d71c888f9 Updated unit tests in response to structural changes in r110805 2012-02-07 00:12:31 +00:00
Inez Korczynski 3a79aa7d63 Get wikitext preview pane to work in contentEditable 2012-02-07 00:08:59 +00:00
Trevor Parscal fb09439ae6 Fixed image file links from sandbox.css to images supplied by es and ui packages 2012-02-06 23:55:58 +00:00
Trevor Parscal 6dcc39fe11 Migrated es.* to new ve.* namespace which is more structured, and will make it easier to keep data model, edit surface, user interface and content editable work separated cleanly 2012-02-06 23:50:56 +00:00
Gabriel Wicke 53bf4f2bd0 Temporarily disable the sanitizer and start to support preprocessor
functionality (comments, templates, template arguments) in arbitrary
attributes. The grammar for this is still quite rough, will need to
consolidate that area.
2012-02-06 19:15:44 +00:00
Gabriel Wicke c26243989e Improve toJSON handlers to include all properties 2012-02-06 19:12:29 +00:00
Alexandre Emsenhuber 8280989bc8 svn:eol-style native 2012-02-04 11:59:37 +00:00
Gabriel Wicke 0bea9fdfbb Fix nowiki tokenization regression introduced r110495 2012-02-03 13:10:04 +00:00
Gabriel Wicke 26f2026cff Add custom JSON serializers for tokens that include a type attribute 2012-02-03 13:09:01 +00:00
Inez Korczynski 61dae35ebc Playground for IME (switch from textarea to contenteditable div) 2012-02-03 00:59:46 +00:00
Inez Korczynski 9c311d0d94 Playground for IME 2012-02-02 23:22:23 +00:00
christian e174082b35 table cell styling 2012-02-02 21:29:02 +00:00
christian 60e1f366a0 experimentation with table editing 2012-02-02 21:28:43 +00:00
christian 92670e1aa3 adding ce-leafNode class to leaf nodes 2012-02-02 02:34:39 +00:00
Inez Korczynski 142609481e Fix showCursorAt method for bug of ">=" vs ">" 2012-02-02 02:27:45 +00:00
christian 71515f7bfc changes to margins 2012-02-02 01:17:02 +00:00
christian 328c6a5fd9 floating table 2012-02-02 00:50:45 +00:00
Inez Korczynski d6ae65af27 Get rid of "position: relative" - it breaks selection in contentEditable 2012-02-02 00:43:43 +00:00
christian 6a1b77f864 switching back to fully contenteditable for tables, disabling handles in firefox, changing title tag 2012-02-02 00:20:26 +00:00
Inez Korczynski 24ae5f7823 Don't replace spaces with   in content editable 2012-02-01 23:48:44 +00:00
christian 9340ed6e72 contenteditable false for tables - true for table cells 2012-02-01 23:26:30 +00:00
christian 29270facde removing outline from contenteditable elements 2012-02-01 23:26:08 +00:00
christian c255dd966e tweaking margins 2012-02-01 23:10:28 +00:00
Inez Korczynski c9ff18175f Render paragraphs as a <p> tags (indtead of <div>) 2012-02-01 22:56:15 +00:00
Inez Korczynski d2ecda1361 Port contentEditable demo to EditingSurface layout 2012-02-01 22:38:57 +00:00
christian e6f0de626c adding resources for table rendering 2012-02-01 22:28:39 +00:00
Inez Korczynski 8bfb9c9440 Port contentEditable demo to EditingSurface layout 2012-02-01 22:27:28 +00:00
christian 91c6c83483 adding table to hybrid demo 2012-02-01 22:22:16 +00:00
Raimond Spekking e5de3c2207 Localisation updates for core and extension messages from translatewiki.net 2012-02-01 20:58:11 +00:00
Gabriel Wicke 8c75aa1a7a Remove type attribute for tag tokens. 2012-02-01 18:37:48 +00:00
Gabriel Wicke 689f697a93 Push token format conversion a bit further along, and add defines that were
missing in last commit.
2012-02-01 17:03:08 +00:00
Gabriel Wicke a5b7ea7bcd Add --debug and --trace options to parserTests as well. 2012-02-01 17:02:37 +00:00
Gabriel Wicke a5cc10a06b Change token format to plain strings for text tokens, and specific objects for
other tokens. This is only the first half of the conversion. The next step is
to drop the type attribute on most tokens and match on the constructor in the
token transform machinery.
2012-02-01 16:30:43 +00:00
Gabriel Wicke dd3707ded5 Remove some modules normally bundled with node.js from dependencies, and
remove some older ones that are only used in currently-dead code.
2012-02-01 10:32:33 +00:00