• entries
    96
  • comments
    103
  • views
    77,931

Invision Power 4.0 new editor features

The improvements they are making to IPB look really great. Some of the highlights for me:

http://community.invisionpower.com/blog/1174/entry-9537-ips-40-editor-part-1-content/

Quote

Currently URLs which gets picked up for media embedding and the output they produce are managed in the Admin CP. The idea was that this would allow admins to add support for additional services, however, it has caused some problems when for example, YouTube has added new URL formats or changed their embed code and they don't work on most communities until we release an update to change the default record for YouTube.

oEmbed is an API which allows you to make a call to the provider giving them the URL and they respond with the best embed code to use, if that URL can be embedded. In 4.0, if a URL for YouTube, Flickr, Vimeo, College Humor or Hulu is inserted, we make a call to their oEmbed provider to obtain the embed code, so it's always up to date.

Embeds will always work. Now that is a huge difference.

http://community.invisionpower.com/blog/1174/entry-9538-ips-40-editor-part-2-uploads/

Quote

The upload panel here is based on HTML5 which supports drag and drop uploading, if your browser doesn't support this, it will use Flash, Silverlight or Google Gears if you have any of those installed, and if not it will fallback to a HTML4 & JavaScript implementation (none of these support drag and drop, but instead you click the "Choose Files" button just as you do now - the label in the box will change to reflect this).

Drag and drop images right into the editor. I've been waiting for this feature. No more having to click attach and then navigate to the right folder where your image is.. just drag it right into the editor. :tup:

http://community.invisionpower.com/blog/1174/entry-9539-ips-40-editor-part-3-customisation-and-bbcode/

Quote

BBCode

Though no features in IPS4 insert BBCode-style tags into the editor (like is currently done for attachments, etc.) users can still type BBCode into the editor and it will work fine.

We've rewritten how BBCode is parsed to be much more secure and reliable and produce more standards-compliant HTML (for those who are interested, it parses the post content into a DOM Document and examines only the text nodes for BBCode tags, then either splits the nodes surrounding it and inserts one for block-level elements, or wraps all subsequent text nodes in the appropriate formatting element until the end BBCode is found).

The benefit to this is that there now no longer needs to be a "BBCode mode" - you can type BBCode straight into the editor, even complicated stuff like lists spanning multiple lines, and it comes out looking great.

The downside to this approach is that custom BBCodes can no longer be added through the Admin CP. However, as mentioned above, we now have the ability to add custom buttons to the editor which work in a much more intuitive way, and can do everything that custom BBCodes could and more. For those who really want to be able to add the ability for custom BBCode, we've isolated the method that returns the supported BBCode (and information needed to parse them) into a specific method so that custom BBCode can be added with a very simple hook specific to that purpose.

This is a big change and I hope they pull it off correctly. All our custom bbcodes will be negated. But the only custom bbcode we actually use is the spoiler tag, which will now be a default feature. All other custom bbcodes will now have to be created as CKEditor plugins.. but there are already a lot of ckeditor plugins available. So I could technically add a variety of new editor features.

http://community.invisionpower.com/topic/388306-ips-40-editor-part-4-special-features/

Quote

@mentions

@mentions are a common feature on social media sites like Twitter and Facebook. If you type an @ symbol and then start typing the name of a friend, an autocomplete menu shows so you can quickly then click on the user and they'll receive a notification that they've been mentioned. In 4.0 you can do exactly this to mention any user.

Very very nice. I like this.

Quote

Automatic Saving

Currently, when you're typing a post, every 2 minutes the content of the post is saved, so that if you accidentally navigate away from the page, your post content can be recovered. The content is saved by making an AJAX request.

In 4.0, we've rewritten this to use HTML5 web storage. This unloads this work to the browser, meaning no call needs to be made to the server. Because this is much more efficient, the save can be done much more frequently (every few seconds). This makes the autosave feature much more useful.

In addition, we've expanded the feature to support attachments. So if you've uploaded files, these too will be automatically recovered. Essentially if you're in the middle of typing a post and you refresh the page, everything will reappear exactly as you left it.

Good! No more having to click the load saved content option. Simplifying this will make the auto save much better.

Oh! and the editor will now be fully skin-able! The editor won't have to be glaring white on a dark theme anymore.

Also, the current skins that we use are going to be upgraded for IPB 4.0. We won't have to change the entire look of the site. :D




0 Comments


There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now


  • Recent Status Updates

    • DeathscytheX

      Although its also on the PS4, I purchased Ys VIII: Lacrimosa of Dana for the Switch recently because it's just been collecting dust. It was probably the better option anyways because the graphics look like something out of the N64/PS2 era with modern draw rates. Not a knock against it, as its quite charming... but the game looks like it belongs on the Switch rather than PS4. Everything about this game is so 1998. I've never played any of the Ys games before, but this one caught my eye for the old school hack and slash. It's very Dark Cloud-ish minus the world building. Sprinkle some old Zelda in there as well. The combat is relatively simple with 1 button main attack, and 4 special attacks that consist of holding R1 and pressing A B Y X. These use a SP meter that replenishes on kills. There are also dodge and block counters that give you a special speed combo ability. You have a party of 3, and characters that join where you can swap them out and swap between the three in combat. Each character has a assigned damage type (Slash, Precise, Bash). Having all 3 types helps weaken the right enemies susceptible to these plus you get a rare drop bonus... rather than the 1.1x bonus for having two of the same. Anyways, the story is campy but interesting, the dialogue is 90's cringeworthy, and its a lazy sprinkle of actual voice acting and text reading. The world is  large but a bunch of sectioned off instances that quickly load without a loading screen as you cross them. There are fast travel points but not in every sector, so it requires some old school memorizing where to go at times. As you get special gear, you'll find places that were inaccessible previously open up. I'm 20 hours in and I don't feel like I'm even half way through. So at $60, I feel like I'm getting my money's worth for a decent nostalgia kick. I bet this will be a free PS Plus game next year so when it comes up I highly recommend it without even finish it. I'll report back when I beat it with a proper review.
      · 0 replies
    • Sledgstone

      Its been quite the stressful couple weeks. Lady had her surgery and is having a very slow recovery process. My bank required specific repairs to the garage to approve the mortgage and instead of paying a massive price to a contractor me and my friend spent 2 days this last weekend busting our asses in 90 degree days with 90% humidity and full sun working on the garage. Thats all done and accepted now.. Yay. Getting into the final stretch here with the house. Hopefully I'll be moving by the end of the month. I might actually have free time this weekend... finally. *knocks on wood*
      · 2 replies
    • DeathscytheX

      The first two eps of AoT season 3 are better than season 2 in its entirety.
      · 2 replies
    • Strider Hiryu

      Originally I wasn't going to say anything until I actually finished watching the series (which should be Monday or Tuesday night) but you were right DX, The Ancient Magus' bride is spectacular and I say this after only watching 15 episodes.
      I have to say it's up there with Violet Evergarden for both visuals and story (and it's been awhile since I've seen a show that has completely drawn me in to the point that I sacrifice sleep just to watch another episode). I honestly didn't think the premise would suck me in this much but I'm glad it did (and both episodes with Nevin were extremely well done (I shed some manly tears they were so emotionally impacting)).
      I honestly have to say this is probably going down as one of my favorites shows from the last few years (which isn't really hard considering my problems with the last few seasons), only taking second to the masterpiece that was Violet Evergarden. I can't recommend this show enough for those who want a story driven show focused on character development and world building (I'm just sad I only have 8 episodes and 3 OVA's left, really hope this gets another season once the manga gets further along).
       
      · 2 replies
    • DeathscytheX

      This simuldub season is pretty meh compared to last. If it wasn't for the fact that MHA and out of all things; Black Clover was still running. I'd be hard pressed to keep up. Ep 1 of Overlord season 3 felt like a waste of time, but the second one made things pretty interesting. Angels of Death seems kind of bland so far. How not to Summon a Demon Lord is a typical fanservice trapped in a video game world show. Same goes for The Master of Ragnarok & Blesser of Einherjar. Lord of Vermilion feels like a better Tokyo Majin.. which isn't saying much. Hopefully it will be something better. Harukana Receive is bouncy bikini beach volley ball, but Haruka is a total best girl, so I'll shamelessly enjoy it. On the opposite end, I'll skip Free! because I'm not watching a bunch of dudes swim, and I'm already watching HR and Hanebado... an anime about freakin Badminton. With Dies Irae and AoT not staring until later in the month that leaves three unlikely contenders for a surprise best in season for me, that isn't Overlord or AoT which I already expect to be solid at worst.
      Magical Girl Raising Project is apparently a dark ass violent series with cute moe magic girls. A total clash of genres. The first two eps only have brief hints at it so far, its mostly just cutesy. But if it turns out like I think it has the potential too. It should be pretty interesting.
      Chio's School Road is a "school" anime thats about Chio's walk to school every day, instead of the actual school day. The absolute absurd happens apparently every time. The first three eps have been pretty hysterical so far. Its different, so I like it.
      Island is a pretty big mystery to me as to what its suppose to be about. It has my interest to see how it unfolds. It can honestly go either way. I guess I'll be reviewing these at the end of the season and we'll see how my opinions have changed since this status update.
      · 3 replies
  • Topics